jmathlib.ui.swing
Class EasyFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by jmathlib.ui.swing.EasyFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class EasyFileFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter


Field Summary
private  java.lang.String description
           
private  boolean exceptsFolders
           
private  java.lang.String[] fileExtensions
           
 
Constructor Summary
EasyFileFilter(java.lang.String[] fileExtensions, java.lang.String description, boolean exceptsFolders)
           
 
Method Summary
 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
 

Field Detail

fileExtensions

private java.lang.String[] fileExtensions

description

private java.lang.String description

exceptsFolders

private boolean exceptsFolders
Constructor Detail

EasyFileFilter

public EasyFileFilter(java.lang.String[] fileExtensions,
                      java.lang.String description,
                      boolean exceptsFolders)
Method Detail

accept

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

getDescription

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

FOOTER

BOTTOM