Interface FileFilter


public interface FileFilter
A filter interface for files.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(File file)
    Determines whether a file should be included in a collection.
  • Method Details

    • accepts

      boolean accepts(File file)
      Determines whether a file should be included in a collection.
      Parameters:
      file - the file to check
      Returns:
      true if the file should be included in a collection, and false otherwise.