org.apache.uima.pear.tools

## Class PackageSelectorGUI.PackageFileFilter

- java.lang.Object
- - javax.swing.filechooser.FileFilter
  - - org.apache.uima.pear.tools.PackageSelectorGUI.PackageFileFilter

- Enclosing class:
    PackageSelectorGUI

      public static class PackageSelectorGUI.PackageFileFilter
      extends FileFilter

  The `PackageFileFilter` class allows filtering PEAR package files.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PackageFileFilter()`

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

    - #### PackageFileFilter

          public PackageFileFilter()

  - ### 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–2018 The Apache Software Foundation. All rights reserved.