Interface ExcelOptions.Builder

    • Method Detail

      • sheetNames

        ExcelOptions.Builder sheetNames​(Collection<String> sheetNames)

        One or more named sheets in the Excel file that will be included in the dataset.

        Parameters:
        sheetNames - One or more named sheets in the Excel file that will be included in the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sheetNames

        ExcelOptions.Builder sheetNames​(String... sheetNames)

        One or more named sheets in the Excel file that will be included in the dataset.

        Parameters:
        sheetNames - One or more named sheets in the Excel file that will be included in the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sheetIndexes

        ExcelOptions.Builder sheetIndexes​(Collection<Integer> sheetIndexes)

        One or more sheet numbers in the Excel file that will be included in the dataset.

        Parameters:
        sheetIndexes - One or more sheet numbers in the Excel file that will be included in the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sheetIndexes

        ExcelOptions.Builder sheetIndexes​(Integer... sheetIndexes)

        One or more sheet numbers in the Excel file that will be included in the dataset.

        Parameters:
        sheetIndexes - One or more sheet numbers in the Excel file that will be included in the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headerRow

        ExcelOptions.Builder headerRow​(Boolean headerRow)

        A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.

        Parameters:
        headerRow - A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.