Class JMTIO

  • All Implemented Interfaces:

    
    public class JMTIO
    
                        

    Unified I/O handler for JMT (Java Modelling Tools) files.

    This class provides both read and write functionality for JMT XML format files (JSIM and JMVA) from LINE network models. It combines the functionality previously split between JMTXMLParser (write) and JMTResultParser (read).

    Supported operations:

    • Write: Generate JSIM/JMVA XML files from LINE models
    • Read: Parse JSIM/JMVA result files and log files
    
    JMTIO jmtio = new JMTIO(model, options);
    // Write
    String outputFile = jmtio.writeJSIM(sn, "model.jsim");
    // Read
    JMTResult result = jmtio.parseJSIMResult("model.jsim-result.jsim");