Package org.apache.uima.pear.tools
Class PackageSelectorGUI.PackageFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.apache.uima.pear.tools.PackageSelectorGUI.PackageFileFilter
-
- Enclosing class:
- PackageSelectorGUI
public static class PackageSelectorGUI.PackageFileFilter extends javax.swing.filechooser.FileFilterThePackageFileFilterclass allows filtering PEAR package files.
-
-
Constructor Summary
Constructors Constructor Description PackageFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File file)Determines whether a givenFileobject is accepted by this filter.java.lang.StringgetDescription()
-
-
-
Field Detail
-
TEAR_EXT
private static final java.lang.String TEAR_EXT
- See Also:
- Constant Field Values
-
PEAR_EXT
private static final java.lang.String PEAR_EXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
public boolean accept(java.io.File file)
Determines whether a givenFileobject is accepted by this filter.- Specified by:
acceptin classjavax.swing.filechooser.FileFilter- Parameters:
file- The givenFileobject.- Returns:
true, if the givenFileobject is accepted,faseotherwise.
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter- Returns:
- The description of this filter.
-
-