Interface IfFormatFreeExcelTable<T>

Type Parameters:
T - See IfExcelTable.
All Superinterfaces:
IfExcelTable<T>
All Known Subinterfaces:
IfFormatFreeExcelTableReader<T>
All Known Implementing Classes:
CellFreeExcelTableReader, CellFreeExcelTableWriter, StringFreeExcelTableReader

public interface IfFormatFreeExcelTable<T> extends IfExcelTable<T>
Is a reader interface which treats free format tables.
  • Method Details

    • validateHeader

      default void validateHeader(@Nullable List<List<String>> headerData)
      Description copied from interface: IfExcelTable
      Validates the excel table header.

      If the table doesn't have a header, nothing needs to be done in this method.

      Specified by:
      validateHeader in interface IfExcelTable<T>
      Parameters:
      headerData - string header data
    • getFarLeftHeaderLabel

      @Nonnull default String getFarLeftHeaderLabel()
      Description copied from interface: IfExcelTable
      Returns the value of the far left header cell to specify the position of the table.

      The method is called when tableStartRowNumber is null.
      See ExcelTable.tableStartRowNumber

      When the table doesn't have a header, an exception is thrown if tableStartRowNumber is null.
      So always set non-null tableStartRowNumber value when the table doesn't have a header.

      Specified by:
      getFarLeftHeaderLabel in interface IfExcelTable<T>
      Returns:
      far left header label