Package com.io7m.jwheatsheaf.api
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
-
Method Details
-
description
String description()- Returns:
- The filter description
-
isAllowed
- Parameters:
path
- The input file- Returns:
true
if the file should appear in listings
-