Class GenericFileFilter
java.lang.Object
|
+--GenericFileFilter
- All Implemented Interfaces:
- java.io.FileFilter
- public class GenericFileFilter
- extends java.lang.Object
- implements java.io.FileFilter
A file filter that recognize *.*, *.ext (any file with the given extendsion), and name.* (any file with the given name)
Method Summary |
boolean |
accept(java.io.File pathname)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericFileFilter
public GenericFileFilter(java.lang.String pattern)
GenericFileFilter
public GenericFileFilter(java.lang.String pattern,
boolean includeDirs)
accept
public boolean accept(java.io.File pathname)
- Specified by:
accept
in interface java.io.FileFilter