public class PetrifyImportDotG
extends org.processmining.framework.abstractplugins.AbstractImportPlugin
| Constructor and Description |
|---|
PetrifyImportDotG() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
importFile(org.processmining.framework.plugin.PluginContext context,
PetrifyDotG dotG)
Imports a Petri net from a Petrify/Genet Petri net file.
|
protected java.lang.Object[] |
importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String filename,
long fileSizeInBytes)
Imports a Petri net from a Petrify/Genet Petri net stream, given the
associated file name and size.
|
public java.lang.Object[] importFile(org.processmining.framework.plugin.PluginContext context,
PetrifyDotG dotG)
throws java.lang.Exception
context - The current plug-in context.dotG - The handle to the given file.java.lang.Exceptionprotected java.lang.Object[] importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String filename,
long fileSizeInBytes)
throws java.lang.Exception
importFromStream in class org.processmining.framework.abstractplugins.AbstractImportPlugincontext - The current plug-in context.input - The given stream.filename - The name of the file associated with the stream.fileSizeInBytes - The size of the file associated with the stream.java.lang.Exception