public class ExcelSpreadsheetReader extends Object implements SpreadsheetReader
Constructor and Description |
---|
ExcelSpreadsheetReader() |
Modifier and Type | Method and Description |
---|---|
void |
read(InputStream inputStream,
Range rowRange,
Range columnRange,
boolean ignoreBlankRows,
SpreadsheetRowProcessor rowProcessor)
Reads an InputStream and passes spreadsheet cell data values, row by row, to the
rowProcessor.
|
public void read(InputStream inputStream, Range rowRange, Range columnRange, boolean ignoreBlankRows, SpreadsheetRowProcessor rowProcessor) throws SpreadsheetReadException
SpreadsheetReader
read
in interface SpreadsheetReader
inputStream
- the stream to readrowRange
- the rows to readcolumnRange
- the columns to readignoreBlankRows
- whether to ignore blank rowsrowProcessor
- the rowProcessor to write rows of data values toSpreadsheetReadException
- if there's an error reading the stream or the stream is not a valid spreadsheetCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.