Package jmri.util.swing
Class TextFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- jmri.util.swing.TextFilter
-
public class TextFilter extends javax.swing.filechooser.FileFilter
Text by extension file filter. Matches files with extension .txt.
-
-
Constructor Summary
Constructors Constructor Description TextFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File f)
java.lang.String
getDescription()
-
-
-
Constructor Detail
-
TextFilter
public TextFilter()
-
-
Method Detail
-
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classjavax.swing.filechooser.FileFilter
-
-