Class SpreadSheetColumnRange

    • Constructor Detail

      • SpreadSheetColumnRange

        public SpreadSheetColumnRange()
        Initializes with no range.
      • SpreadSheetColumnRange

        public SpreadSheetColumnRange​(String range)
        Initializes with the given range, but no maximum.
        Parameters:
        range - the range to use
      • SpreadSheetColumnRange

        public SpreadSheetColumnRange​(String range,
                                      int max)
        Initializes with the given range and maximum.
        Parameters:
        range - the range to use
        max - the maximum of the 1-based index (e.g., use "10" to allow "1-10" or -1 for uninitialized)
    • Method Detail

      • setSpreadSheet

        public void setSpreadSheet​(SpreadSheet value)
        Sets the spreadsheet to use for interpreting the column name.
        Parameters:
        value - the spreadsheet to use, can be null
      • setSpreadSheetColumns

        public void setSpreadSheetColumns​(List<String> cols)
        Sets the columns to use. Constructs a spreadsheet on-the-fly.
        Parameters:
        cols - the columns in the spreadsheet
      • setSpreadSheetColumns

        public void setSpreadSheetColumns​(String[] cols)
        Sets the columns to use. Constructs a spreadsheet on-the-fly.
        Parameters:
        cols - the columns in the spreadsheet