|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.io.filefilter.FalseFileFilter
A file filter that always returns false.
Field Summary | |
static IOFileFilter |
INSTANCE
Singleton instance of false filter |
Constructor Summary | |
protected |
FalseFileFilter()
Restrictive consructor. |
Method Summary | |
boolean |
accept(java.io.File file)
Returns false. |
boolean |
accept(java.io.File dir,
java.lang.String name)
Returns false. |
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 FalseFileFilter()
Method Detail |
public boolean accept(java.io.File file)
accept
in interface IOFileFilter
file
- the file to check
public 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |