java.io
public interface FilenameFilter
File.list(FilenameFilter) method and by the filename 
 dialog in AWT.
 The method in this interface determines if a particular file should or should not be included in the file listing.
See Also: listFiles setFilenameFilter
| Method Summary | |
|---|---|
| boolean | accept(File dir, String name) 
 This method determines whether or not a given file should be included
 in a directory listing.
 | 
Parameters: dir The File instance for the directory being read name The name of the file to test
 
Returns: true if the file should be included in the list,
 false otherwise.