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.9, 31 Jan 1995
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


All Packages    This Package    Previous    Next