Class JMTIO

java.lang.Object
jline.solvers.jmt.io.JMTIO

public class JMTIO extends Object
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

Usage Example:


 JMTIO jmtio = new JMTIO(model, options);
 // Write
 String outputFile = jmtio.writeJSIM(sn, "model.jsim");
 // Read
 JMTResult result = jmtio.parseJSIMResult("model.jsim-result.jsim");
 
See Also: