Package org.apache.uima.pear.tools
Class PackageSelectorGUI.PackageDirFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.apache.uima.pear.tools.PackageSelectorGUI.PackageDirFilter
-
- Enclosing class:
- PackageSelectorGUI
public static class PackageSelectorGUI.PackageDirFilter extends javax.swing.filechooser.FileFilterThePackageDirFilterclass allows filtering directories.
-
-
Constructor Summary
Constructors Constructor Description PackageDirFilter()
-
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()
-
-
-
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.
-
-