fdda.dialog.swing.utils
Class SimpleFileFilter
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--fdda.dialog.swing.utils.SimpleFileFilter
- public class SimpleFileFilter
- extends FileFilter
A file filter for JFileChooser. Allows files with a specified ending and
directories.
- Author:
- Jörg Rüdenauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFileFilter
public SimpleFileFilter()
- Constructor
SimpleFileFilter
public SimpleFileFilter(String acceptExtension)
- Constructor with allowed extension.
- Parameters:
acceptExtension
- the extension (without the '.' - e.g. "xml")
accept
public boolean accept(File inFile)
- Specified by:
accept
in class FileFilter
getDescription
public String getDescription()
- Specified by:
getDescription
in class FileFilter
API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.