Module jp.ecuacion.util.poi
Interface IfDataTypeCellExcelTableReader
- All Superinterfaces:
IfDataTypeCellExcelTable,IfExcelTable<org.apache.poi.ss.usermodel.Cell>,IfExcelTableReader<org.apache.poi.ss.usermodel.Cell>
- All Known Implementing Classes:
CellFreeExcelTableReader,CellOneLineHeaderExcelTableReader
public interface IfDataTypeCellExcelTableReader
extends IfDataTypeCellExcelTable, IfExcelTableReader<org.apache.poi.ss.usermodel.Cell>
Provides the excel table reader interface
with object type obtained from the excel data is
Cell.-
Method Summary
Modifier and TypeMethodDescriptiondefault org.apache.poi.ss.usermodel.CellgetCellData(org.apache.poi.ss.usermodel.Cell cell, int columnNumber) Returns the obtained value from the cell.default booleanisCellDataEmpty(org.apache.poi.ss.usermodel.Cell cellData) Returns whether the value of the cell is empty.Methods inherited from interface jp.ecuacion.util.poi.excel.table.IfDataTypeCellExcelTable
getStringValueMethods inherited from interface jp.ecuacion.util.poi.excel.table.IfExcelTable
getFarLeftAndTopHeaderLabel, getHeaderLabelData, getNumberOfHeaderLines, getSheetName, validateHeaderDataMethods inherited from interface jp.ecuacion.util.poi.excel.table.reader.IfExcelTableReader
getExcelReadUtil, updateAndGetHeaderData
-
Method Details
-
getCellData
default org.apache.poi.ss.usermodel.Cell getCellData(org.apache.poi.ss.usermodel.Cell cell, int columnNumber) Description copied from interface:IfExcelTableReaderReturns the obtained value from the cell.If you want to get
Stringvalue from the cell, it returns theStringvalue.- Specified by:
getCellDatain interfaceIfExcelTableReader<org.apache.poi.ss.usermodel.Cell>- Parameters:
cell- cell, may be null.columnNumber- the column number data is obtained from, starting with 1 and column A is equal to columnNumber 1. When the far left column of a table is 2 and you want to speciries the far left column, the columnNumber is 2.- Returns:
- the obtained value from the cell
-
isCellDataEmpty
default boolean isCellDataEmpty(@Nullable org.apache.poi.ss.usermodel.Cell cellData) Description copied from interface:IfExcelTableReaderReturns whether the value of the cell is empty.- Specified by:
isCellDataEmptyin interfaceIfExcelTableReader<org.apache.poi.ss.usermodel.Cell>- Parameters:
cellData- cellData- Returns:
- whether the valule of the cell is empty.
-