edu.mit.sketch.clocksketch.util
Class SimpleFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.mit.sketch.clocksketch.util.SimpleFileFilter

public class SimpleFileFilter
extends javax.swing.filechooser.FileFilter


Constructor Summary
SimpleFileFilter(java.lang.String ext)
           
SimpleFileFilter(java.lang.String[] exts, java.lang.String descriptionArg)
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFileFilter

public SimpleFileFilter(java.lang.String ext)

SimpleFileFilter

public SimpleFileFilter(java.lang.String[] exts,
                        java.lang.String descriptionArg)
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter