Interface FileFilter


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accepts​(java.io.File file)
      Determines whether a file should be included in a collection.
    • Method Detail

      • accepts

        boolean accepts​(java.io.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.