org.fife.ui.rtextfilechooser.filters
Class AcceptAllFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.fife.ui.rtextfilechooser.filters.AcceptAllFileFilter
public class AcceptAllFileFilter
- extends javax.swing.filechooser.FileFilter
File filter that accepts all files.
- Version:
- 1.0
- Author:
- Robert Futrell
Method Summary |
boolean |
accept(java.io.File f)
|
java.lang.String |
getDescription()
|
java.lang.String |
toString()
Overridden to return the description of this file filter, that way we
render nicely in combo boxes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AcceptAllFileFilter
public AcceptAllFileFilter()
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter
toString
public java.lang.String toString()
- Overridden to return the description of this file filter, that way we
render nicely in combo boxes.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A string representation of this filter.