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[]
extensions
private String
label
-
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 boolean
accept(File f)
boolean
checkExtension(File f)
String
getDescription()
-
-
-
Method Detail
-
accept
public boolean accept(File f)
- Specified by:
accept
in classFileFilter
-
getDescription
public String getDescription()
- Specified by:
getDescription
in classFileFilter
-
checkExtension
public boolean checkExtension(File f)
-
-