Class InstallPear.PEARFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.apache.uima.tools.pear.install.InstallPear.PEARFilter
-
- Enclosing class:
- InstallPear
protected static class InstallPear.PEARFilter extends javax.swing.filechooser.FileFilterThePEARFilterclass allows to filter directories, as well as '.tear' and '.pear' files.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPEARFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File file)Returnstrue, if the given input file is directory or has 'tear' or 'pear' extension,falseotherwise.java.lang.StringgetDescription()Returns the filter description.
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File file)
Returnstrue, if the given input file is directory or has 'tear' or 'pear' extension,falseotherwise.- Specified by:
acceptin classjavax.swing.filechooser.FileFilter- Returns:
true, if the given input file is directory or has 'tear' or 'pear' extension,falseotherwise.
-
getDescription
public java.lang.String getDescription()
Returns the filter description.- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter- Returns:
- The filter description.
-
-