jas.io
Class CustomFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by jas.io.CustomFileFilter

public class CustomFileFilter
extends javax.swing.filechooser.FileFilter


Constructor Summary
CustomFileFilter(java.lang.String extension, java.lang.String description)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 void addExtension(java.lang.String extension)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFileFilter

public CustomFileFilter(java.lang.String extension,
                        java.lang.String description)
Method Detail

accept

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

addExtension

public void addExtension(java.lang.String extension)

getDescription

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