Class ExportTrainLineups


  • public class ExportTrainLineups
    extends XmlFile
    Builds the train lineups in a comma delimited file (CSV). Only trains that are built and have the "Build" checkbox selected are exported.
    • Method Detail

      • writeFile

        public void writeFile​(java.lang.String name)
        Writes the train lineups for each location a train visits. The lineup includes: Train Name, Lead Engine, Location, Arrival Time, Departure Time, Direction, Pulls, Drops, Loads, Empties, Length, Weight, Engineer, Conductor, Train Description, Train Comment
        Parameters:
        name - file path name