public final class CSVFileFilter
extends javax.swing.filechooser.FileFilter
| Constructor and Description |
|---|
CSVFileFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File f)
Test if the file is accepted
|
void |
addExtension(java.lang.String ex)
Adds an extension to the filter
|
java.lang.String |
getDescription()
Get the filter name
|
void |
setFilterName(java.lang.String fn)
Set the filter name
|
public void setFilterName(java.lang.String fn)
fn - New name of the filterpublic void addExtension(java.lang.String ex)
ex - Nex extension to addpublic boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterf - File to be testedpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter