Class InstallPear.PEARFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.apache.uima.tools.pear.install.InstallPear.PEARFilter
- Enclosing class:
InstallPear
The
PEARFilter class allows to filter directories, as well as '.tear' and '.pear'
files.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrue, if the given input file is directory or has 'tear' or 'pear' extension,falseotherwise.Returns the filter description.
-
Constructor Details
-
PEARFilter
protected PEARFilter()
-
-
Method Details
-
accept
Returnstrue, if the given input file is directory or has 'tear' or 'pear' extension,falseotherwise.- Specified by:
acceptin classFileFilter- Parameters:
file- the file- Returns:
true, if the given input file is directory or has 'tear' or 'pear' extension,falseotherwise.
-
getDescription
Returns the filter description.- Specified by:
getDescriptionin classFileFilter- Returns:
- The filter description.
-