jas.io
Class CustomFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
jas.io.CustomFileFilter
public class CustomFileFilter
- extends javax.swing.filechooser.FileFilter
Constructor Summary |
CustomFileFilter(java.lang.String extension,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFileFilter
public CustomFileFilter(java.lang.String extension,
java.lang.String description)
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
addExtension
public void addExtension(java.lang.String extension)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter