## Uses of Interface
java.io.FilenameFilter

- Packages that use FilenameFilter
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.io | Provides for system input and output through data streams, serialization and the file system.

- - ### Uses of FilenameFilter in java.awt

    Methods in java.awt that return FilenameFilter
    Modifier and Type | Method and Description
    --- | ---
    `FilenameFilter` | FileDialog.`getFilenameFilter()` Determines this file dialog's filename filter.

    Methods in java.awt with parameters of type FilenameFilter
    Modifier and Type | Method and Description
    --- | ---
    `void` | FileDialog.`setFilenameFilter(FilenameFilter filter)` Sets the filename filter for this file dialog window to the specified filter.

  - ### Uses of FilenameFilter in java.io

    Methods in java.io with parameters of type FilenameFilter
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | File.`list(FilenameFilter filter)` Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter.
    `File[]` | File.`listFiles(FilenameFilter filter)` Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.