Package ch.fork.AdHocRailway.technical.configuration.exporter

Examples of ch.fork.AdHocRailway.technical.configuration.exporter.XMLExporter_0_4.export()


    private void saveFile(File file) {
        try {
            XMLExporter_0_4 exporter = new XMLExporter_0_4(turnoutPersistence,
                    locomotivePersistence, routePersistence);
            String xml = exporter.export();
            FileWriter fw = new FileWriter(file);
            fw.write(xml);
            fw.close();
            actualFile = file;
        } catch (FileNotFoundException e1) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.