Class TrainCsvCommon

    • Method Detail

      • printDepartureTime

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

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

        protected final void printLocationSwitchListComment​(CSVPrinter printer,
                                                            java.lang.String comment,
                                                            java.lang.String textColorName)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • printLocationComment

        protected final void printLocationComment​(CSVPrinter printer,
                                                  java.lang.String comment,
                                                  java.lang.String textColorName)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • printLocationName

        protected final void printLocationName​(CSVPrinter printer,
                                               java.lang.String name)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • printPrinterName

        protected final void printPrinterName​(CSVPrinter printer,
                                              java.lang.String name)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • printRailroadName

        protected final void printRailroadName​(CSVPrinter printer,
                                               java.lang.String name)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • printRemoveHelpers

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

        protected final void printRouteLocationComment​(CSVPrinter printer,
                                                       java.lang.String comment,
                                                       java.lang.String textColorName)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • printTrainDeparts

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

        protected final void printTrainDescription​(CSVPrinter printer,
                                                   java.lang.String description)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • printTrainLength

        protected final void printTrainLength​(CSVPrinter printer,
                                              int length,
                                              int empty,
                                              int total)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • printTrainName

        protected final void printTrainName​(CSVPrinter printer,
                                            java.lang.String name)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • printTrainTerminates

        protected final void printTrainTerminates​(CSVPrinter printer,
                                                  java.lang.String name)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • printTrainWeight

        protected final void printTrainWeight​(CSVPrinter printer,
                                              int weight)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • printValidity

        protected final void printValidity​(CSVPrinter printer,
                                           java.lang.String date)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • printLogoURL

        protected void printLogoURL​(CSVPrinter fileOut,
                                    Train train)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • printCar

        protected void printCar​(CSVPrinter fileOut,
                                Car car,
                                java.lang.String code,
                                java.lang.String message,
                                int count)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • printEngine

        protected void printEngine​(CSVPrinter fileOut,
                                   Engine engine,
                                   java.lang.String code,
                                   java.lang.String message)
                            throws java.io.IOException
        Throws:
        java.io.IOException