Class TrainSwitchLists

    • Method Detail

      • buildSwitchList

        public void buildSwitchList​(Location location)
        Builds a switch list for a location showing the work by train arrival time. If not running in real time, new train work is appended to the end of the file. User has the ability to modify the text of the messages which can cause an IllegalArgumentException. Some messages have more arguments than the default message allowing the user to customize the message to their liking. There also an option to list all of the car work by track name. This option is only available in real time and is shown after the switch list by train.
        location - The Location needing a switch list
      • newLine

        protected void newLine​( file,
                               java.lang.String string)