|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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(File file)
Returns true. |
boolean |
accept(File dir,
String name)
Returns true. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final IOFileFilter INSTANCE
Constructor Detail |
protected TrueFileFilter()
Method Detail |
public boolean accept(File file)
accept
in interface IOFileFilter
file
- the file to check
public boolean accept(File dir, String name)
accept
in interface IOFileFilter
dir
- the directory to checkname
- the filename
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |