org.processmining.framework.models.protos.algorithms
Class ProtosXMLExportReader

java.lang.Object
  extended by org.processmining.framework.models.protos.algorithms.ProtosXMLExportReader

public class ProtosXMLExportReader
extends java.lang.Object

Title: Protos XML export reader

Description: Reads a Protos XML export and costructs a Protos model from it. Tested with Prots 7.0

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Eric Verbeek

Method Summary
static ProtosModel read(java.io.InputStream input)
          Construct a Protos model out of a Protos XML Export stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static ProtosModel read(java.io.InputStream input)
                        throws java.lang.Exception
Construct a Protos model out of a Protos XML Export stream

Parameters:
input - InputStream The Protos XML Export stream, that is, a file generated bij Protos' XML Export functionality.
Returns:
ProtosModel The constructed Protos model. Contains everything except the ProtosModelOptions (almost no use).
Throws:
java.lang.Exception - Throws an error message (one aerror message per line), if errors were detected.