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, setStartRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndRow, getStartRow, setEndRow, setStartRow
public SimpleBlockReaderImpl()
public SimpleBlockReaderImpl(int startRow, int endRow, List<BeanCellMapping> beanCellMappings)
public SimpleBlockReaderImpl(int startRow, int endRow)
public void setConvertUtilsBeanProvider(ConvertUtilsBeanProvider provider)
setConvertUtilsBeanProvider
in interface XLSBlockReader
public XLSReadStatus read(XLSRowCursor cursor, Map beans)
read
in interface XLSBlockReader
protected 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 SimpleBlockReader
public List getMappings()
getMappings
in interface SimpleBlockReader
Copyright © 2019. All rights reserved.