Interface JWFileChooserFilterType

All Known Implementing Classes:
JWFileChooserFilterAllFiles, JWFileChooserFilterOnlyDirectories

public interface JWFileChooserFilterType
The type of file filters. A filter consists of a humanly-readable description which is displayed in the file chooser UI, and a function isAllowed(Path) that returns true if the file should appear in listings.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
  • Method Details

    • description

      String description()
      Returns:
      The filter description
    • isAllowed

      boolean isAllowed(Path path)
      Parameters:
      path - The input file
      Returns:
      true if the file should appear in listings