Class TrainCsvSwitchLists

    • Method Detail

      • buildSwitchList

        public java.io.File buildSwitchList​(Location location)
        builds a csv file containing the switch list for a location
        Parameters:
        location - The Location requesting a switch list.
        Returns:
        File
      • printEnd

        protected final void printEnd​(CSVPrinter printer)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • printExpectedTimeArrival

        protected final void printExpectedTimeArrival​(CSVPrinter printer,
                                                      java.lang.String time)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • printEstimatedTimeEnRoute

        protected final void printEstimatedTimeEnRoute​(CSVPrinter printer,
                                                       java.lang.String time)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • printTrainArrives

        protected final void printTrainArrives​(CSVPrinter printer,
                                               java.lang.String name,
                                               java.lang.String direction)
                                        throws java.io.IOException
        Throws:
        java.io.IOException