|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.armatiek.infofuze.stream.filesystem.filefilter.FalseFileFilter
public class FalseFileFilter
A file filter that always returns false.
Based on code from Apache Commons IO version 2.01.
The main difference is that this class filters objects that
implement FileIf
,
not File
.
Original author Stephen Colebourne
Field Summary | |
---|---|
static IOFileFilter |
FALSE
Singleton instance of false filter. |
static IOFileFilter |
INSTANCE
Singleton instance of false filter. |
Method Summary | |
---|---|
boolean |
accept(FileIf file)
Returns false. |
boolean |
accept(FileIf dir,
java.lang.String name)
Returns false. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final IOFileFilter FALSE
public static final IOFileFilter INSTANCE
Method Detail |
---|
public boolean accept(FileIf file)
accept
in interface IOFileFilter
file
- the file to check
public boolean accept(FileIf dir, java.lang.String name)
dir
- the directory to checkname
- the filename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |