Package gld.xml

Examples of gld.xml.XMLSaver


  public void doSave(String filename) throws InvalidFilenameException, Exception
  if(!filename.endsWith(".sim") )
      throw new InvalidFilenameException("Filename must have .sim extension.");
    setStatus("Saving simulation to " + filename);
    XMLSaver saver=new XMLSaver(new File(filename));
    saveAll(saver,getSimModel());
    saver.close();
    setStatus("Saved simulation to " + filename);
  }
View Full Code Here

TOP

Related Classes of gld.xml.XMLSaver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.