Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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