org.processmining.plugins.workshop
Class WorkshopImportPlugin
java.lang.Object
org.processmining.framework.abstractplugins.AbstractImportPlugin
org.processmining.plugins.workshop.WorkshopImportPlugin
- All Implemented Interfaces:
- org.processmining.framework.abstractplugins.ImportPlugin
public class WorkshopImportPlugin
- extends org.processmining.framework.abstractplugins.AbstractImportPlugin
Impor tplug-in for workshop models. Workshop models are imported from CSV
files. The first row contains target event class names. The first column
contains source event class names. A field contains the cardinality of the
direct succession relation from the source event class (see leftmost column)
to the target event class (see top row). If no direct succession relation,
the field contains 0.
- Author:
- hverbeek
|
Method Summary |
protected javax.swing.filechooser.FileFilter |
getFileFilter()
Gets the file filter for this import plug-in. |
protected java.lang.Object |
importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String filename,
long fileSizeInBytes)
Imports the workshop model from the CSV file. |
| Methods inherited from class org.processmining.framework.abstractplugins.AbstractImportPlugin |
getFile, getInputStream, importFile, importFile, importFile, importFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkshopImportPlugin
public WorkshopImportPlugin()
getFileFilter
protected javax.swing.filechooser.FileFilter getFileFilter()
- Gets the file filter for this import plug-in. Description is "WorM files",
extension is "worm".
- Returns:
importFromStream
protected java.lang.Object importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String filename,
long fileSizeInBytes)
throws java.lang.Exception
- Imports the workshop model from the CSV file.
- Specified by:
importFromStream in class org.processmining.framework.abstractplugins.AbstractImportPlugin
- Throws:
java.lang.Exception