Package java.io
Interface FileFilter
-
public interface FileFilterAn interface for filteringFileobjects based on their names or other information.- See Also:
File.listFiles(FileFilter)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(File pathname)Indicating whether a specific file should be included in a pathname list.
-
-
-
Method Detail
-
accept
boolean accept(File pathname)
Indicating whether a specific file should be included in a pathname list.- Parameters:
pathname- the abstract file to check.- Returns:
trueif the file should be included,falseotherwise.
-
-