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
    java.lang.String description()  
    boolean isAllowed​(java.nio.file.Path path)  
  • Method Details

    • description

      java.lang.String description()
      The filter description
    • isAllowed

      boolean isAllowed​(java.nio.file.Path path)
      path - The input file
      true if the file should appear in listings