net.ontopia.utils
Class SimpleFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
net.ontopia.utils.SimpleFileFilter
public class SimpleFileFilter
- extends javax.swing.filechooser.FileFilter
INTERNAL:
Description: a simple file filter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFileFilter
public SimpleFileFilter(java.lang.String description)
SimpleFileFilter
public SimpleFileFilter(java.lang.String description,
java.lang.String extension)
SimpleFileFilter
public SimpleFileFilter(java.lang.String description,
java.lang.String ext1,
java.lang.String ext2)
addExtension
public void addExtension(java.lang.String extension)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
Copyright © 2000-2012 Ontopia.