Module jp.ecuacion.util.poi
Package jp.ecuacion.util.poi.excel.table
Interface IfFormatOneLineHeaderExcelTable<T>
- Type Parameters:
T- SeeIfExcelTable.
- All Superinterfaces:
IfExcelTable<T>
- All Known Subinterfaces:
IfFormatOneLineHeaderExcelTableReader<T>
- All Known Implementing Classes:
CellOneLineHeaderExcelTableReader,CellOneLineHeaderExcelTableWriter,StringOneLineHeaderExcelTableReader,StringOneLineHeaderExcelTableToBeanReader
Is a reader interface which treats one line header format tables.
-
Method Summary
Methods inherited from interface jp.ecuacion.util.poi.excel.table.IfExcelTable
getSheetName, getStringValue
-
Method Details
-
getHeaderLabels
Defines the header labels in the excel table.It can be like
new String[] {"first name", "last name", "age"}. -
validateHeader
default void validateHeader(@Nullable List<List<String>> headerData) throws jp.ecuacion.lib.core.exception.checked.BizLogicAppException Description copied from interface:IfExcelTableValidates the excel table header.If the table doesn't have a header, nothing needs to be done in this method.
- Specified by:
validateHeaderin interfaceIfExcelTable<T>- Parameters:
headerData- string header data- Throws:
jp.ecuacion.lib.core.exception.checked.BizLogicAppException- BizLogicAppException
-
getFarLeftHeaderLabel
Description copied from interface:IfExcelTableReturns the value of the far left header cell to specify the position of the table.The method is called when
tableStartRowNumberisnull.
SeeExcelTable.tableStartRowNumberWhen the table doesn't have a header, an
exceptionis thrown iftableStartRowNumberisnull.
So always set non-nulltableStartRowNumbervalue when the table doesn't have a header.- Specified by:
getFarLeftHeaderLabelin interfaceIfExcelTable<T>- Returns:
- far left header label
-