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 FileFilter
The `PackageDirFilter` class allows filtering directories.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PackageDirFilter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `accept(File file)`
  Determines whether a given `File` object is accepted by this filter.
  `String`
  `getDescription()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PackageDirFilter

    public PackageDirFilter()

- ## Method Details

  - ### accept

    public boolean accept(File file)
    Determines whether a given `File` object is accepted by this filter.
    Specified by:
      `accept` in class `FileFilter`
    Parameters:
      `file` - The given `File` object.
    Returns:
      `true`, if the given `File` object is accepted, `fase` otherwise.

  - ### getDescription

    public String getDescription()
    Specified by:
      `getDescription` in class `FileFilter`
    Returns:
      The description of this filter.