|
Java™ Platform Standard Ed. 7 DRAFT ea-b76 |
|||||||||
| 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>
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.
| Modifier and Type | Method and Description |
|---|---|
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 testedtrue if the directory entry should be acceptedIOException - If an I/O error occurs
|
Java™ Platform Standard Ed. 7 DRAFT ea-b76 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.