Packages This Package Prev Next Index
public interface java.io.FilenameFilter { // Methods public abstract boolean accept(File dir, String name); §2.26.1 }Instances of classes that implement this interface are used to filter filenames. These instances are used to filter directory listings in the list method (I-§2.7.24) of class File (I-§2.7), and by the Abstract Window Toolkit's file dialog component (II-§1.15.13).
public abstract boolean accept(File dir, String name)
dir
-
the directory in which the file was found
name
-
the name of the file
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)