|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.io.filefilter.TrueFileFilter
A file filter that always returns true.
Field Summary | |
static IOFileFilter |
INSTANCE
Singleton instance of true filter |
Constructor Summary | |
protected |
TrueFileFilter()
Restrictive consructor. |
Method Summary | |
boolean |
accept(java.io.File file)
Returns true. |
boolean |
accept(java.io.File dir,
java.lang.String name)
Returns true. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final IOFileFilter INSTANCE
Constructor Detail |
protected TrueFileFilter()
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 to checkname
- the filename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |