| java.io.FilenameFilter |
FilenameFilter is an interface which declares methods for filtering file
names in the list method of File.
| boolean | accept(File dir, String filename) | ||||
| Answers a boolean if a specific filename matches a filter. | |||||
| dir | the directory in which the filename was found. |
|---|---|
| filename | the name of the file in dir to test. |
true if the filename matches the filter
and can be included in the list, false
otherwise.