No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)If the display is too slow, you can disable the user mode to view the cached version.
-
- Type Parameters:
T
- the type of the directory entry
- Enclosing interface:
- DirectoryStream<T>
public static interface DirectoryStream.Filter<T>
An interface that is implemented by objects that decide if a directory entry should be accepted or filtered. AFilter
is passed as the parameter to theFiles.newDirectoryStream(Path,DirectoryStream.Filter)
method when opening a directory to iterate over the entries in the directory.- Since:
- 1.7
-
-
Method Detail
-
accept
boolean accept(T entry) throws IOException
Decides if the given directory entry should be accepted or filtered.- Parameters:
entry
- the directory entry to be tested- Returns:
true
if the directory entry should be accepted- Throws:
IOException
- If an I/O error occurs
-
-
Can not display this page of the Infobrol website
Type of error (18-01)
Unknown format specifier "&"Please try again in a few minutes…
Steph