org.processmining.importing.log
Class LogFilterImportPlugin

java.lang.Object
  extended by org.processmining.importing.log.LogFilterImportPlugin
All Implemented Interfaces:
Plugin, ImportPlugin

public class LogFilterImportPlugin
extends java.lang.Object
implements ImportPlugin

Imports a LogFilter object using the standards as describes in the Serializable interface

Version:
1.0
Author:
not attributable

Constructor Summary
LogFilterImportPlugin()
           
 
Method Summary
 javax.swing.filechooser.FileFilter getFileFilter()
          getFileFilter
 java.lang.String getHtmlDescription()
          Gets a description of this plugin in HTML.
 java.lang.String getName()
          Gets the name of this plugin.
 MiningResult importFile(java.io.InputStream input)
          Interface for plugins that import from file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFilterImportPlugin

public LogFilterImportPlugin()
Method Detail

getFileFilter

public javax.swing.filechooser.FileFilter getFileFilter()
getFileFilter

Specified by:
getFileFilter in interface ImportPlugin
Returns:
FileFilter

getHtmlDescription

public java.lang.String getHtmlDescription()
Gets a description of this plugin in HTML.

Specified by:
getHtmlDescription in interface Plugin
Returns:
a description of this plugin in HTML

getName

public java.lang.String getName()
Gets the name of this plugin.

Specified by:
getName in interface Plugin
Returns:
the name of this plugin

importFile

public MiningResult importFile(java.io.InputStream input)
                        throws java.io.IOException
Description copied from interface: ImportPlugin
Interface for plugins that import from file.

Specified by:
importFile in interface ImportPlugin
Parameters:
input - The framework will always provide a ProMInputStream as the input parameter. To retrieve the filename use: ((ProMInputStream) input).getFilename();
Returns:
MiningResult A JComponent that is visualized in a frame. If null is returned then the framework thinks the call to this method was aborted.
Throws:
java.io.IOException - If an IO exception occurs.