Class MyFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.openscience.jmol.app.janocchio.MyFileFilter
-
public class MyFileFilter extends FileFilter
-
-
Field Summary
Fields Modifier and Type Field Description private String[]extensionsprivate Stringlabel
-
Constructor Summary
Constructors Constructor Description MyFileFilter(String[] extensions, String label)MyFileFilter(String extension, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(File f)booleancheckExtension(File f)StringgetDescription()
-
-
-
Method Detail
-
accept
public boolean accept(File f)
- Specified by:
acceptin classFileFilter
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin classFileFilter
-
checkExtension
public boolean checkExtension(File f)
-
-