Class ExportEngines
- java.lang.Object
-
- jmri.jmrit.XmlFile
-
- jmri.jmrit.operations.rollingstock.engines.tools.ExportEngines
-
public class ExportEngines extends XmlFile
Exports the Engine roster into a comma delimited file (CSV). Order stored: Number, Road, Model, Length, Owner, Built, Location, -, Track, Consist, Moves, Last, Value, HP, Weight, Type, Comment, Misc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.XmlFile
XmlFile.Validate
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
LOCATION_TRACK_SEPARATOR
-
Fields inherited from class jmri.jmrit.XmlFile
dtdLocation, xsltLocation
-
-
Constructor Summary
Constructors Constructor Description ExportEngines()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
defaultOperationsFilename()
static java.lang.String
getOperationsFileName()
static void
setOperationsFileName(java.lang.String name)
void
writeFile(java.lang.String name)
void
writeOperationsEngineFile()
Store the all of the operation Engine objects in the default place, including making a backup if needed-
Methods inherited from class jmri.jmrit.XmlFile
addDefaultInfo, backupFileName, checkFile, createFileNameWithDate, dumpElement, findFile, getBuilder, getDefaultDtdLocation, getDefaultValidate, getDtdLocation, getProcessingInstructionHRef, getProcessingInstructionType, getRoot, getValidate, makeBackupFile, makeBackupFile, newDocument, newDocument, revertBackupFile, rootFromFile, rootFromInputStream, rootFromName, rootFromURL, setDefaultDtdLocation, setDefaultValidate, setDtdLocation, setValidate, userFileChooser, userFileChooser, writeXML, xmlDir
-
-
-
-
Field Detail
-
LOCATION_TRACK_SEPARATOR
protected static final java.lang.String LOCATION_TRACK_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExportEngines
public ExportEngines()
-
-
Method Detail
-
writeOperationsEngineFile
public void writeOperationsEngineFile()
Store the all of the operation Engine objects in the default place, including making a backup if needed
-
writeFile
public void writeFile(java.lang.String name)
-
defaultOperationsFilename
public static java.lang.String defaultOperationsFilename()
-
setOperationsFileName
public static void setOperationsFileName(java.lang.String name)
-
getOperationsFileName
public static java.lang.String getOperationsFileName()
-
-