Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.interview
Interface FileFilter

All Known Implementing Classes:
  AllFilesFileFilter, DirectoryFileFilter, ExtensionFileFilter, FilesAndDirectoriesFileFilter

    public interface FileFilter

An interface for filtering files.

Method Summary
`boolean` | `accept(java.io.File f)` Check if a file is accepted by this filter.
`boolean` | `acceptsDirectories()` Check if (all) directories are accepted by this filter.
`java.lang.String` | `getDescription()` Get a short description for this filter.

Method Detail

### accept

    boolean accept(java.io.File f)

  Check if a file is accepted by this filter.

  Parameters:
    `f` - The file to be tested.
  Returns:
    true if the file is accepted by this filter

### acceptsDirectories

    boolean acceptsDirectories()

  Check if (all) directories are accepted by this filter.

  Returns:
    true if directories are accepted by this filter

### getDescription

    java.lang.String getDescription()

  Get a short description for this filter.

  Returns:
    a short description of this filter

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.