Interface File.FileFilter

Enclosing class:
File

public static interface File.FileFilter
Interface for filtering files.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the file should be included in results.
  • Method Details

    • accept

      boolean accept(File f)

      Returns true if the file should be included in results.

      Parameters
      • f: The file to check
      Returns

      True to include. False to not include in results.