Class EnlargePlotDistGraph.PlotImagesFileFilter

java.lang.Object
javax.swing.filechooser.FileFilter
jwat.workloadAnalysis.chart.EnlargePlotDistGraph.PlotImagesFileFilter
Enclosing class:
EnlargePlotDistGraph

public static class EnlargePlotDistGraph.PlotImagesFileFilter extends FileFilter
Inner class used to create simple file filters with only extension check
  • Constructor Details

    • PlotImagesFileFilter

      public PlotImagesFileFilter(String extension, String description)
      Creates a new filefilter with specified extension and description
      Parameters:
      extension - extension of this filter (for example ".jmt")
      description - description of this filter
  • Method Details

    • accept

      public boolean accept(File f)
      Whether the given file is accepted by this filter.
      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()
      The description of this filter
      Specified by:
      getDescription in class FileFilter
      See Also:
    • getExtension

      public String getExtension()
      Gets extension of this filter
      Returns:
      extension of this filter