be.lassi.io
Class ShowFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
be.lassi.io.ShowFileFilter
public class ShowFileFilter
- extends javax.swing.filechooser.FileFilter
Method Summary |
boolean |
accept(java.io.File file)
Answer true if this file should be shown in the directory pane, false if
it shouldn't. |
java.lang.String |
getDescription()
Answers the human readable description of this filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowFileFilter
public ShowFileFilter()
accept
public boolean accept(java.io.File file)
- Answer true if this file should be shown in the directory pane, false if
it shouldn't.
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Answers the human readable description of this filter.
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter