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