learningTool
Class LearningToolGUI.Filter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by learningTool.LearningToolGUI.Filter
Enclosing class:
LearningToolGUI

protected final class LearningToolGUI.Filter
extends FileFilter


Field Summary
protected  String desc
           
protected  String ext
           
 
Constructor Summary
protected LearningToolGUI.Filter(String ext)
           
protected LearningToolGUI.Filter(String desc, String ext)
           
 
Method Summary
 boolean accept(File file)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ext

protected final String ext

desc

protected final String desc
Constructor Detail

LearningToolGUI.Filter

protected LearningToolGUI.Filter(String desc,
                                 String ext)

LearningToolGUI.Filter

protected LearningToolGUI.Filter(String ext)
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter

accept

public boolean accept(File file)
Specified by:
accept in class FileFilter