jmri.jmrit.operations.rollingstock.cars
Class ExportCars

java.lang.Object
  extended by jmri.jmrit.XmlFile
      extended by jmri.jmrit.operations.rollingstock.cars.ExportCars

public class ExportCars
extends XmlFile

Exports the car roster into a comma delimitated file (CSV).

Author:
Daniel Boudreau Copyright (C) 2010, 2011

Field Summary
 
Fields inherited from class jmri.jmrit.XmlFile
dtdLocation, xsltLocation
 
Constructor Summary
ExportCars()
           
 
Method Summary
static String defaultOperationsFilename()
           
static String getOperationsFileName()
           
 void setDeliminter(String delimiter)
           
static void setOperationsFileName(String name)
           
 void writeFile(String name)
           
 void writeOperationsCarFile()
          Store the all of the operation car objects in the default place, including making a backup if needed
 
Methods inherited from class jmri.jmrit.XmlFile
addDefaultInfo, backupFileName, checkFile, createFileNameWithDate, dumpElement, ensurePrefsPresent, findFile, getBuilder, getRootViaURI, getVerify, makeBackupFile, makeBackupFile, newDocument, newDocument, prefsDir, reportError1, reportError2, resourcesDir, revertBackupFile, rootFromFile, rootFromName, rootFromURL, scriptsDir, setScriptsFileLocationDefault, setUserFileLocationDefault, setVerify, userFileChooser, userFileChooser, userFileChooser, userFileChooser, userFileLocationDefault, writeXML, xmlDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportCars

public ExportCars()
Method Detail

setDeliminter

public void setDeliminter(String delimiter)

writeOperationsCarFile

public void writeOperationsCarFile()
Store the all of the operation car objects in the default place, including making a backup if needed


writeFile

public void writeFile(String name)

defaultOperationsFilename

public static String defaultOperationsFilename()

setOperationsFileName

public static void setOperationsFileName(String name)

getOperationsFileName

public static String getOperationsFileName()


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads