org.simbrain.util
Class SFileChooser.FileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.simbrain.util.SFileChooser.FileFilter
- Enclosing class:
- SFileChooser
class SFileChooser.FileFilter
- extends FileFilter
File-filter.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SFileChooser.FileFilter
SFileChooser.FileFilter()
accept
public boolean accept(File file)
- Determines if the file has the correct extension type.
- Specified by:
accept in class FileFilter
- Parameters:
file - File to be checked
- Returns:
- whether the file has the correct extension type
getDescription
public String getDescription()
- Specified by:
getDescription in class FileFilter
- Returns:
- description of the extension.