public class SimpleBlockReaderImpl extends BaseBlockReader implements SimpleBlockReader
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
SimpleBlockReaderImpl() |
SimpleBlockReaderImpl(int startRow,
int endRow) |
SimpleBlockReaderImpl(int startRow,
int endRow,
List<BeanCellMapping> beanCellMappings) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapping(BeanCellMapping mapping) |
protected String |
getCellString(org.apache.poi.ss.usermodel.Cell cell) |
SectionCheck |
getLoopBreakCondition() |
List |
getMappings() |
XLSReadStatus |
read(XLSRowCursor cursor,
Map beans) |
protected String |
readCellString(org.apache.poi.ss.usermodel.Sheet sheet,
int rowNum,
short cellNum) |
protected String |
readNumericCell(org.apache.poi.ss.usermodel.Cell cell) |
void |
setConvertUtilsBeanProvider(ConvertUtilsBeanProvider provider) |
void |
setLoopBreakCondition(SectionCheck sectionCheck) |
getEndRow, getReadStatus, getStartRow, setEndRow, setReadStatus, setStartRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndRow, getStartRow, setEndRow, setStartRowpublic SimpleBlockReaderImpl()
public SimpleBlockReaderImpl(int startRow,
int endRow,
List<BeanCellMapping> beanCellMappings)
public SimpleBlockReaderImpl(int startRow,
int endRow)
public void setConvertUtilsBeanProvider(ConvertUtilsBeanProvider provider)
setConvertUtilsBeanProvider in interface XLSBlockReaderpublic XLSReadStatus read(XLSRowCursor cursor, Map beans)
read in interface XLSBlockReaderprotected String readCellString(org.apache.poi.ss.usermodel.Sheet sheet, int rowNum, short cellNum)
protected String getCellString(org.apache.poi.ss.usermodel.Cell cell)
protected String readNumericCell(org.apache.poi.ss.usermodel.Cell cell)
public SectionCheck getLoopBreakCondition()
public void setLoopBreakCondition(SectionCheck sectionCheck)
public void addMapping(BeanCellMapping mapping)
addMapping in interface SimpleBlockReaderpublic List getMappings()
getMappings in interface SimpleBlockReaderCopyright © 2019. All rights reserved.