Class PNMLReader

java.lang.Object
common.xml.PNMLReader
All Implemented Interfaces:
CommonConstants, PNMLConstants, EngineNodeConstants

public class PNMLReader extends Object implements PNMLConstants, CommonConstants

Title: PNML Reader

Description: Reads model information from a PNML file. This class provides methods for model import.

Author:
Lulai Zhu Date: 25-01-2017 Time: 12.00.00
  • Constructor Details

    • PNMLReader

      public PNMLReader()
  • Method Details

    • importModel

      public static boolean importModel(File file, CommonModel model) throws Exception
      Imports an external model from a PNML file
      Parameters:
      file - file that the model is imported from
      model - data structure of the model
      Returns:
      true if the model was imported, false otherwise
      Throws:
      Exception