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
Methods inherited from interface jp.ecuacion.util.poi.excel.table.IfExcelTable
getSheetName, getStringValue, ignoresAdditionalColumnsOfHeaderData, ignoresAdditionalColumnsOfHeaderData, isVerticalAndHorizontalOpposite, isVerticalAndHorizontalOpposite
-
Method Details
-
getNumberOfHeaderLines
default int getNumberOfHeaderLines()Description copied from interface:IfExcelTableReturns the number of header lines.- Specified by:
getNumberOfHeaderLinesin interfaceIfExcelTable<T>- Returns:
- the number of header lines
-
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.
-