|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.armatiek.infofuze.stream.filesystem.filefilter.CanReadFileFilter
public class CanReadFileFilter
This filter accepts Files that can be read.
Based on code from Apache Commons IO version 2.01.
The main difference is that this class filters objects that
implement FileIf,
not File.
| Field Summary | |
|---|---|
static IOFileFilter |
CAN_READ
Singleton instance of readable filter |
static IOFileFilter |
CANNOT_READ
Singleton instance of not readable filter |
| Method Summary | |
|---|---|
boolean |
accept(FileIf file)
Checks to see if the file can be read. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IOFileFilter CAN_READ
public static final IOFileFilter CANNOT_READ
| Method Detail |
|---|
public boolean accept(FileIf file)
accept in interface IOFileFilterfile - the File to check.
true if the file can be
read, otherwise false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||