|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.io.filefilter.AbstractFileFilter
An abstract class which implements the Java FileFilter and FilenameFilter interfaces via the IOFileFilter interface.
Note that a subclass must override one of the accept methods, otherwise your class will infinitely loop.
Constructor Summary | |
AbstractFileFilter()
|
Method Summary | |
boolean |
accept(java.io.File file)
Checks to see if the File should be accepted by this filter. |
boolean |
accept(java.io.File dir,
java.lang.String name)
Checks to see if the File should be accepted by this filter. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public AbstractFileFilter()
Method Detail |
public boolean accept(java.io.File file)
accept
in interface IOFileFilter
file
- the File to checkpublic boolean accept(java.io.File dir, java.lang.String name)
accept
in interface IOFileFilter
dir
- the directory File to checkname
- the filename within the directory to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |