org.objectweb.fractal.gui.menu.control
Class SimpleFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.objectweb.fractal.gui.menu.control.SimpleFileFilter
- public class SimpleFileFilter
- extends FileFilter
Simple FileFilter implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFileFilter
public SimpleFileFilter(String extension,
String description)
- Constructs a new
SimpleFileFilter object.
- Parameters:
extension - the extension that files must have in order to be accepted
by this filter.description - a short description ot this file filter.
accept
public boolean accept(File f)
getDescription
public String getDescription()