
@Named @Dependent public class ExcelStreamingItemReader extends ExcelUserModelItemReader implements javax.batch.api.chunk.ItemReader
javax.batch.api.chunk.ItemReader for reading OOXML Excel files, based on Apache POI
XSSF streaming reader API, and StAX.ExcelStreamingItemWriter,
ExcelUserModelItemReader,
ExcelItemReaderWriterBase| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
r1c1
If set to true, the target sheet uses R1C1-style cell coordinates; if set to false, the target sheet uses the
more common A1-style cell coordinates; defaults to null (not set).
|
protected org.apache.poi.xssf.model.SharedStringsTable |
sharedStringsTable |
protected InputStream |
sheetInputStream |
protected XMLStreamReader |
sheetStreamReader |
end, formulaEvaluator, headerMapping, headerRow, inputStream, minColumnCount, rowIterator, sheetIndex, startbeanType, currentRowNum, header, sheet, sheetName, workbookcustomDataTypeModules, customDeserializers, customSerializers, deserializationFeatures, jsonFactory, jsonFactoryFeatures, jsonFactoryLookup, mapperFeatures, objectMapper, serializationFeaturesNEW_LINE, resource, skipBeanValidation| Constructor and Description |
|---|
ExcelStreamingItemReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
initWorkbookAndSheet(int startRowNumber) |
Object |
readItem() |
checkpointInfo, getCellValue, opengetCellStringValuesinitJsonFactory, initJsonFactoryAndObjectMapper, registerModulegetInputStream, getOutputStream, getValidator, validateprotected Boolean r1c1
protected InputStream sheetInputStream
protected XMLStreamReader sheetStreamReader
protected org.apache.poi.xssf.model.SharedStringsTable sharedStringsTable
public Object readItem() throws Exception
readItem in interface javax.batch.api.chunk.ItemReaderreadItem in class ExcelUserModelItemReaderExceptionpublic void close()
throws Exception
close in interface javax.batch.api.chunk.ItemReaderclose in class ExcelUserModelItemReaderExceptionprotected void initWorkbookAndSheet(int startRowNumber)
throws Exception
initWorkbookAndSheet in class ExcelUserModelItemReaderExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.