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 GhidraFileFilter ALL
      A default implementation that shows all files.
    • Field Detail

      • ALL

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

      • accept

        boolean accept​(java.io.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

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