Module jp.ecuacion.util.poi
Interface IfDataTypeStringExcelTableReader
- All Superinterfaces:
IfDataTypeStringExcelTable,IfExcelTable<String>,IfExcelTableReader<String>
- All Known Implementing Classes:
StringExcelTableReader,StringFreeExcelTableReader,StringOneLineHeaderExcelTableReader,StringOneLineHeaderExcelTableToBeanReader
public interface IfDataTypeStringExcelTableReader
extends IfDataTypeStringExcelTable, IfExcelTableReader<String>
Provides the excel table reader interface
with object type obtained from the excel data is
String.-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetCellData(org.apache.poi.ss.usermodel.Cell cell, int columnNumber) Returns the obtained value from the cell.getDateTimeFormat(int columnNumber) Returns the date time format consideringcolumnDateTimeFormatMapanddefaultDateTimeFormat.Gets NoDataString.default booleanisCellDataEmpty(String cellData) Returns whether the value of the cell is empty.Methods inherited from interface jp.ecuacion.util.poi.excel.table.IfDataTypeStringExcelTable
getStringValueMethods inherited from interface jp.ecuacion.util.poi.excel.table.IfExcelTable
getFarLeftAndTopHeaderLabel, getHeaderLabelData, getNumberOfHeaderLines, getSheetName, ignoresAdditionalColumnsOfHeaderData, ignoresAdditionalColumnsOfHeaderData, isVerticalAndHorizontalOpposite, isVerticalAndHorizontalOppositeMethods inherited from interface jp.ecuacion.util.poi.excel.table.reader.IfExcelTableReader
getExcelReadUtil, updateAndGetHeaderData, validateHeaderData
-
Method Details
-
getCellData
default String getCellData(org.apache.poi.ss.usermodel.Cell cell, int columnNumber) throws jp.ecuacion.util.poi.excel.exception.ExcelAppException 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<String>- 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
- Throws:
jp.ecuacion.util.poi.excel.exception.ExcelAppException- ExcelAppException
-
isCellDataEmpty
Description copied from interface:IfExcelTableReaderReturns whether the value of the cell is empty.- Specified by:
isCellDataEmptyin interfaceIfExcelTableReader<String>- Parameters:
cellData- cellData- Returns:
- whether the valule of the cell is empty.
-
getNoDataString
NoDataString getNoDataString()Gets NoDataString.- Returns:
- NoDataString
-
getDateTimeFormat
Returns the date time format consideringcolumnDateTimeFormatMapanddefaultDateTimeFormat.- Parameters:
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:
- date format
-