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 and Description
    `PackageDirFilter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### PackageDirFilter

          public PackageDirFilter()

  - ### Method Detail

    - #### 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.

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.