public interface FileFilter
File.listFiles(FileFilter) method.
The method in this interface determines if a particular pathname should or should not be included in the pathname listing.
File.listFiles(java.io.FileFilter)| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File pathname)
This method determines whether or not a given pathname should be included
in a pathname listing.
|
boolean accept(File pathname)
pathname - The pathname to testtrue if the path should be included in the list,
false otherwise.