Class CellOneLineHeaderExcelTableReader

java.lang.Object
jp.ecuacion.util.poi.excel.table.ExcelTable<org.apache.poi.ss.usermodel.Cell>
jp.ecuacion.util.poi.excel.table.reader.ExcelTableReader<org.apache.poi.ss.usermodel.Cell>
jp.ecuacion.util.poi.excel.table.reader.concrete.CellOneLineHeaderExcelTableReader
All Implemented Interfaces:
IfDataTypeCellExcelTable, IfExcelTable<org.apache.poi.ss.usermodel.Cell>, IfFormatOneLineHeaderExcelTable<org.apache.poi.ss.usermodel.Cell>, IfDataTypeCellExcelTableReader, IfExcelTableReader<org.apache.poi.ss.usermodel.Cell>, IfFormatOneLineHeaderExcelTableReader<org.apache.poi.ss.usermodel.Cell>

public class CellOneLineHeaderExcelTableReader extends ExcelTableReader<org.apache.poi.ss.usermodel.Cell> implements IfFormatOneLineHeaderExcelTableReader<org.apache.poi.ss.usermodel.Cell>, IfDataTypeCellExcelTableReader
Reads tables with known number of columns, known header labels and known start position of the table.

It obtains cell values as Cell object.

The header line is required. This class reads the table at the designated position and designated lines and columns.
Finish reading if all the columns are empty in a line.

  • Constructor Details

    • CellOneLineHeaderExcelTableReader

      public CellOneLineHeaderExcelTableReader(@RequireNonnull String sheetName, @RequireNonnull String[] headerLabels, @Nullable Integer tableStartRowNumber, int tableStartColumnNumber, @Nullable Integer tableRowSize)
      Constructs a new instance. the obtained value from an empty cell is null.

      tableColumnSize is not designated because tableColumnSize of the table is obviously equal to the length of the header array.

      About the params sheetName, tableStartRowNumber, tableStartColumnNumber, tableRowSize and tableColumnSize, see ExcelTableReader(String, Integer, int, Integer, Integer).

  • Method Details