Class ExportCars
- java.lang.Object
-
- jmri.jmrit.XmlFile
-
- jmri.jmrit.operations.rollingstock.cars.tools.ExportCars
-
public class ExportCars extends XmlFile
Exports the car roster into a comma delimited file (CSV).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.XmlFile
XmlFile.Validate
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<Car>
_carList
protected static java.lang.String
LOCATION_TRACK_SEPARATOR
-
Fields inherited from class jmri.jmrit.XmlFile
dtdLocation, xsltLocation
-
-
Constructor Summary
Constructors Constructor Description ExportCars(java.util.List<Car> carList)
-
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
writeOperationsCarFile()
Create CSV file based on the car list.-
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
-
ExportCars
public ExportCars(java.util.List<Car> carList)
-
-
Method Detail
-
writeOperationsCarFile
public void writeOperationsCarFile()
Create CSV file based on the car list.
-
defaultOperationsFilename
public static java.lang.String defaultOperationsFilename()
-
setOperationsFileName
public static void setOperationsFileName(java.lang.String name)
-
getOperationsFileName
public static java.lang.String getOperationsFileName()
-
-