|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.armatiek.infofuze.stream.filesystem.filefilter.TrueFileFilter
public class TrueFileFilter
A file filter that always returns true.
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 |
INSTANCE
Singleton instance of true filter. |
static IOFileFilter |
TRUE
Singleton instance of true filter. |
| Method Summary | |
|---|---|
boolean |
accept(FileIf file)
Returns true. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IOFileFilter TRUE
public static final IOFileFilter INSTANCE
| Method Detail |
|---|
public boolean accept(FileIf file)
accept in interface IOFileFilterfile - the file to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||