public class TpnImport
extends org.processmining.framework.abstractplugins.AbstractImportPlugin
This implementation parses bounds and transition labels, but does not use them. Undeclared places will be created automatically without warning if they occur in the in set or out set of a transition. The parser is case insensitive.
The parser is built with JavaCC, a free Java parser generator (like yacc). See https://javacc.dev.java.net/ for documentation.
The grammar file for the TPN parser is TpnParser.jj. The TpnParser class can be rebuilt with the command javacc TpnParser.jj.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INVISIBLE_EVENT_TYPE
This value is used to indicate the event type of an invisible transition.
|
Constructor and Description |
---|
TpnImport() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String filename,
long fileSizeInBytes)
This method is called by all plugin variants to do the actual importing.
|
public static final java.lang.String INVISIBLE_EVENT_TYPE
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
org.processmining.framework.abstractplugins.AbstractImportPlugin
importFromStream
in class org.processmining.framework.abstractplugins.AbstractImportPlugin
java.lang.Exception