Class InputValueSwitch

    • Constructor Detail

      • InputValueSwitch

        public InputValueSwitch()
        Creates a switch that will analyze the first column of rows found in the input to determine which RowProcessor to use for each parsed row
      • InputValueSwitch

        public InputValueSwitch​(int columnIndex)
        Creates a switch that will analyze a column of rows parsed from the input to determine which RowProcessor to use.
        Parameters:
        columnIndex - the column index whose value will be used to determine which RowProcessor to use for each parsed row.
      • InputValueSwitch

        public InputValueSwitch​(java.lang.String columnName)
        Creates a switch that will analyze a column in rows parsed from the input to determine which RowProcessor to use.
        Parameters:
        columnName - name of the column whose values will be used to determine which RowProcessor to use for each parsed row.