net.grelf.grip
Class FileIO_CSVFilter
java.lang.Object
javax.swing.filechooser.FileFilter
net.grelf.grip.FileIO_CSVFilter
public class FileIO_CSVFilter
- extends javax.swing.filechooser.FileFilter
Support class for FileIO. Provides CSV file type selection for users of the file chooser in FileIO.
Field Summary |
static int |
ANY
|
static int |
CSV
|
Method Summary |
boolean |
accept(java.io.File f)
Whether the filter can accept the given file. |
java.lang.String |
getDescription()
Get a concise description of what the filter can accept. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY
public static final int ANY
- See Also:
- Constant Field Values
CSV
public static final int CSV
- See Also:
- Constant Field Values
FileIO_CSVFilter
public FileIO_CSVFilter()
FileIO_CSVFilter
public FileIO_CSVFilter(int aKind)
accept
public boolean accept(java.io.File f)
- Whether the filter can accept the given file.
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Get a concise description of what the filter can accept.
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter