procope.data.petrinets
Class XGMMLGenerator

java.lang.Object
  extended by procope.data.petrinets.XGMMLGenerator

public class XGMMLGenerator
extends Object

Converts a Petri net file to a Cytoscape-compatible XGMML file.

Author:
Jan Krumsiek
See Also:
XGMMLWriter, PetriNetCreator

Method Summary
static void convertToXGMML(File petrinetInfile, File XGMMLOutfile)
          Converts the given Petri net file to the XGMML format.
static void convertToXGMML(InputStream petrinetIn, OutputStream XGMMLOut)
          Converts a Petri net coming from an input stream to the XGMML format written to an output stream.
static void convertToXGMML(String petrinetInfile, String XGMMLOutfile)
          Converts the given Petri net file to the XGMML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertToXGMML

public static void convertToXGMML(String petrinetInfile,
                                  String XGMMLOutfile)
                           throws IOException
Converts the given Petri net file to the XGMML format.

Parameters:
petrinetInfile - input file containing the Petri net
XGMMLOutfile - output file for the XGMML data
Throws:
IOException - if an input/output error occured

convertToXGMML

public static void convertToXGMML(File petrinetInfile,
                                  File XGMMLOutfile)
                           throws IOException
Converts the given Petri net file to the XGMML format.

Parameters:
petrinetInfile - input file containing the Petri net
XGMMLOutfile - output file for the XGMML data
Throws:
IOException - if an input/output error occured

convertToXGMML

public static void convertToXGMML(InputStream petrinetIn,
                                  OutputStream XGMMLOut)
Converts a Petri net coming from an input stream to the XGMML format written to an output stream.

Parameters:
petrinetIn - input stream containing the Petri net
XGMMLOut - output stream for the XGMML data