Interface java.io.FilenameFilter
All Packages This Package Previous Next
Interface java.io.FilenameFilter
-
public interface
FilenameFilter
-
extends Object
A filter interface for file names.
-
See Also:
-
File
-
Version:
-
1.12, 08/10/95
-
Author:
-
Jonathan Payne,
Arthur van Hoff
-
accept(File, String)
-
Determines whether a name should be included in a file list.
accept
public abstract boolean accept(File dir,
String name)
-
Determines whether a name should be included in a file list.
-
Parameters:
-
dir
-
the directory in which the file was found
-
name
-
the name of the file
-
Returns:
-
true if name should be included in file list; false otherwise.
All Packages This Package Previous Next