public class FileExtensionFilter
extends javax.swing.filechooser.FileFilter
FileFilter| Constructor and Description |
|---|
FileExtensionFilter(java.lang.String ext)
File extension filter constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File f)
Only shows files that match the provided filter.
|
java.lang.String |
getDescription()
Returns the description of the filter.
|
public FileExtensionFilter(java.lang.String ext)
ext - String representing the supported filter.public boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterf - File to check.public java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter