Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`PackageSelectorGUI.PackageFileFilter()`

Method Summary
`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

### PackageSelectorGUI.PackageFileFilter

    public PackageSelectorGUI.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 The Apache Software Foundation. All Rights Reserved.