public interface FileFilter
File
objects based on their names or other
information.File.listFiles(FileFilter)
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File pathname)
Indicating whether a specific file should be included in a pathname list.
|
boolean accept(File pathname)
pathname
- the abstract file to check.true
if the file should be included, false
otherwise.