list
method of class
File
, and by the Abstract Window Toolkit's file
dialog component.
java.desktop/java.awt.FileDialog#setFilenameFilter(java.io.FilenameFilter)
, java.io.File
, java.io.File#list(java.io.FilenameFilter)
Modifier and Type | Method and Description |
---|---|
public boolean |
accept | back to summary |
---|---|
public boolean accept(File dir, String name) Tests if a specified file should be included in a file list. |