    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface java.io.FilenameFilter

public interface FilenameFilter

A filter interface for file names.

See Also:
  File

##

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  Class Hierarchy  This Package  Previous  Next  Index