|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the directory entrypublic static interface DirectoryStream.Filter<T>
Disabled: no SafeJ information.
An interface that is implemented by objects that decide if a directory
entry should be accepted or filtered. A Filter
is passed as the
parameter to the newDirectoryStream
method when opening a directory to iterate over the
entries in the directory.
Method Summary | |
---|---|
boolean |
accept(T entry)
Decides if the given directory entry should be accepted or filtered. |
Method Detail |
---|
boolean accept(T entry) throws IOException
entry
- the directory entry to be tested
true
if the directory entry should be accepted
IOException
- If an I/O error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |