Module jp.ecuacion.util.poi
Package jp.ecuacion.util.poi.excel.table
Interface IfFormatFreeExcelTable<T>
- Type Parameters:
T- SeeIfExcelTable.
- All Superinterfaces:
IfExcelTable<T>
- All Known Subinterfaces:
IfFormatFreeExcelTableReader<T>
- All Known Implementing Classes:
CellFreeExcelTableReader,CellFreeExcelTableWriter,StringFreeExcelTableReader
Is a reader interface which treats free format tables.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the value of the far left and top header cell to specify the position of the table.default String[][]Returns an array of header label strings.default voidvalidateHeaderData(List<List<String>> headerData) Validates the excel table header.Methods inherited from interface jp.ecuacion.util.poi.excel.table.IfExcelTable
getSheetName, getStringValue
-
Method Details
-
validateHeaderData
Description copied from interface:IfExcelTableValidates the excel table header.- Specified by:
validateHeaderDatain interfaceIfExcelTable<T>- Parameters:
headerData- string header data
The data type isList<List<String>> headerDatabecause the header with multiple lines may exist.
Pass a list with `size() == 0` when it's a table with no header or nothing to validate.
-
getHeaderLabelData
Description copied from interface:IfExcelTableReturns an array of header label strings.The data type of the return is
String[][]because table header can be multiple lines.- Specified by:
getHeaderLabelDatain interfaceIfExcelTable<T>- Returns:
- table header label strings
-
getFarLeftAndTopHeaderLabel
Description copied from interface:IfExcelTableReturns the value of the far left and top header cell to specify the position of the table.The method is called when
tableStartRowNumberisnull.
SeeExcelTable.tableStartRowNumberWhen the table doesn't have a header and
tableStartRowNumberisnull, anexceptionis thrown.
So always set non-nulltableStartRowNumbervalue when the table doesn't have a header.- Specified by:
getFarLeftAndTopHeaderLabelin interfaceIfExcelTable<T>- Returns:
- far left and top header label
"top" means the upper side of the header line when the table has multiple header lines.
-