org.processmining.analysis.performance
Class PerformanceAnalysisGUI.NameFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.processmining.analysis.performance.PerformanceAnalysisGUI.NameFilter
Enclosing class:
PerformanceAnalysisGUI

public static class PerformanceAnalysisGUI.NameFilter
extends javax.swing.filechooser.FileFilter


Constructor Summary
PerformanceAnalysisGUI.NameFilter(java.lang.String suffix)
          Constructor, sets description to suffix
 
Method Summary
 boolean accept(java.io.File f)
          Returns true if f is a directory or ends with description
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceAnalysisGUI.NameFilter

public PerformanceAnalysisGUI.NameFilter(java.lang.String suffix)
Constructor, sets description to suffix

Parameters:
suffix - String
Method Detail

accept

public boolean accept(java.io.File f)
Returns true if f is a directory or ends with description

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
f - File
Returns:
boolean

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter