public final class KeelFileFilter
extends javax.swing.filechooser.FileFilter
Constructor and Description |
---|
KeelFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Overriding the accept method for accepting
directory names
|
void |
addExtension(java.lang.String ex)
Adds extendion to the filter
|
java.lang.String |
getDescription()
Returns the description of the file filter
|
void |
setFilterName(java.lang.String fn)
Sets Name of the Filer
|
public void setFilterName(java.lang.String fn)
Sets Name of the Filer
fn
- Name of filterpublic void addExtension(java.lang.String ex)
Adds extendion to the filter
ex
- Extension for the filterpublic boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
f
- File to evaluatepublic java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter