brain.gui.FileFilters
Class FileChooserSerializedObjectFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
brain.gui.FileFilters.FileChooserSerializedObjectFileFilter
public class FileChooserSerializedObjectFileFilter
- extends javax.swing.filechooser.FileFilter
This class helps to filter the parameter file types in the file chooser
dialog used to load and save module configurations.
Method Summary |
boolean |
accept(java.io.File file)
Whether the given file is accepted by this filter. |
java.lang.String |
getDescription()
The description of this filter. |
static java.lang.String |
getPostfix()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileChooserSerializedObjectFileFilter
public FileChooserSerializedObjectFileFilter()
accept
public boolean accept(java.io.File file)
- Whether the given file is accepted by this filter.
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- The description of this filter. For example: "JPG and GIF Images"
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter
getPostfix
public static java.lang.String getPostfix()