edu.berkeley.cs.db.yfilter.icdedemo
Class TextFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--edu.berkeley.cs.db.yfilter.icdedemo.TextFileFilter

public class TextFileFilter
extends javax.swing.filechooser.FileFilter


Field Summary
static java.lang.String txt
           
 
Constructor Summary
TextFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
static java.lang.String getExtension(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

txt

public static final java.lang.String txt
See Also:
Constant Field Values
Constructor Detail

TextFileFilter

public TextFileFilter()
Method Detail

getExtension

public static java.lang.String getExtension(java.io.File f)

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