Package ghidra.util.filechooser

# Interface GhidraFileFilter

All Known Implementing Classes:
  `ExtensionFileFilter`

public interface GhidraFileFilter
A interface that filters out all files except for those type extensions that it knows about. Extensions are of the type ".foo", which is typically found on Windows and Unix boxes, but not on Macinthosh. Case is ignored.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final GhidraFileFilter`
  `ALL`
  A default implementation that shows all files.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `accept(File pathname, GhidraFileChooserModel model)`
  Tests whether or not the specified abstract pathname should be included in a pathname list.
  `String`
  `getDescription()`
  Returns the description of this filter.

- ## Field Details

  - ### ALL

    static final GhidraFileFilter ALL
    A default implementation that shows all files.

- ## Method Details

  - ### accept

    boolean accept(File pathname, GhidraFileChooserModel model)
    Tests whether or not the specified abstract pathname should be included in a pathname list.
    Parameters:
      `pathname` - The abstract pathname to be tested
      `model` - The underlying file chooser model
    Returns:
      `true` if and only if `pathname` should be included

  - ### getDescription

    String getDescription()
    Returns the description of this filter.
    Returns:
      the description of this filter