Class ExportLocations
- java.lang.Object
-
- jmri.jmrit.XmlFile
-
- jmri.jmrit.operations.locations.tools.ExportLocations
-
public class ExportLocations extends XmlFile
Exports the location roster into a comma delimited file (CSV). Keep ImportLocations.java in sync with export
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.XmlFile
XmlFile.Validate
-
-
Field Summary
Fields Modifier and Type Field Description (package private) LocationManager
locationManager
(package private) RouteManager
routeManager
(package private) TrainManager
trainManager
-
Fields inherited from class jmri.jmrit.XmlFile
dtdLocation, xsltLocation
-
-
Constructor Summary
Constructors Constructor Description ExportLocations()
-
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
writeOperationsLocationFile()
-
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
-
trainManager
TrainManager trainManager
-
routeManager
RouteManager routeManager
-
locationManager
LocationManager locationManager
-
-
Constructor Detail
-
ExportLocations
public ExportLocations()
-
-
Method Detail
-
writeOperationsLocationFile
public void writeOperationsLocationFile()
-
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()
-
-