public interface FileFilter
Instances of this interface may be passed to the
method
of the listFiles(FileFilter)
class.File
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File pathname)
Tests whether or not the specified abstract pathname should be
included in a pathname list.
|
boolean accept(File pathname)
pathname
- The abstract pathname to be testedtrue
if and only if pathname
should be included