|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.exporting.petrinet.cpnexport.CpnExport20
public class CpnExport20
Exports a given low-level Petri net or a ColoredPetriNet to a coloured Petri net representation that can be read by CPN Tools.
ColoredPetriNet
,
CpnExportSettings
Constructor Summary | |
---|---|
CpnExport20()
|
Method Summary | |
---|---|
boolean |
accepts(ProvidedObject object)
Determines whether a given object can be exported as a CPN. |
void |
export(ProvidedObject object,
java.io.OutputStream output)
Triggers the actual export, that is writes the given object as a CPN to the given output stream. |
java.lang.String |
getFileExtension()
Specifies the file extension for the exported file. |
java.lang.String |
getHtmlDescription()
Provides user documentation for the plug-in. |
java.lang.String |
getName()
Specifies the name of the plug-in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CpnExport20()
Method Detail |
---|
public java.lang.String getName()
getName
in interface Plugin
public boolean accepts(ProvidedObject object)
accepts
in interface ExportPlugin
object
- the ProvidedObject
which shall be tested for being
a valid input to this export plug-in
true
if the given object is a PetriNet
,
false
otherwisepublic void export(ProvidedObject object, java.io.OutputStream output) throws java.io.IOException
export
in interface ExportPlugin
object
- the ProvidedObject
which shall be exported as a CPNoutput
- the OutputStream
specifying the target of the
exported file
java.io.IOException
- in the case a problem is encountered while writing
the filepublic java.lang.String getFileExtension()
getFileExtension
in interface ExportPlugin
public java.lang.String getHtmlDescription()
getHtmlDescription
in interface Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |