Example usage for Java javax.swing.filechooser FileNameExtensionFilter fields, constructors, methods, implement or subclass
The text is from its open source code.
FileNameExtensionFilter(String description, String... extensions) Creates a FileNameExtensionFilter with the specified description and file name extensions. |
boolean | accept(File f) Tests the specified file, returning true if the file is accepted, false otherwise. |
String | getDescription() The description of this filter. |
String[] | getExtensions() Returns the set of file name extensions files are tested against. |