Class JDFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
fr.esrf.tangoatk.widget.util.jdraw.JDFileFilter
A basic file filter class
-
Constructor Summary
ConstructorsConstructorDescriptionJDFileFilter(String desc, String[] ext) Construct a File filter for the set of extension. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the specified file has an allowed extension.Return the description of this FileFilter
-
Constructor Details
-
JDFileFilter
Construct a File filter for the set of extension.- Parameters:
desc- Description of this filterext- Extension set
-
-
Method Details
-
accept
Returns true if the specified file has an allowed extension.- Specified by:
acceptin classFileFilter- Parameters:
f- File to be tested.
-
getDescription
Return the description of this FileFilter- Specified by:
getDescriptionin classFileFilter
-