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 Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final GhidraFileFilter
    A default implementation that shows all files.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    Tests whether or not the specified abstract pathname should be included in a pathname list.
    Returns the description of this filter.
  • Field Details Link icon

    • ALL Link icon

      static final GhidraFileFilter ALL
      A default implementation that shows all files.
  • Method Details Link icon

    • accept Link icon

      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 Link icon

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