public class LdFileFilter
extends javax.swing.filechooser.FileFilter
| Constructor and Description |
|---|
LdFileFilter(java.lang.String[] fileTypes,
java.lang.String description)
Constructor if the FileFilter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File file)
The method checks, if a given file is visible in the dialog.
|
java.lang.String |
getDescription()
Returns the description, which was set in the constructor
|
public LdFileFilter(java.lang.String[] fileTypes,
java.lang.String description)
fileTypes - all file extensions, that shall be selectablepublic boolean accept(java.io.File file)
accept in class javax.swing.filechooser.FileFilterfile - the file which shall be checkedpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter