public interface DataStream
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream releasing all resources associated to it.
|
boolean |
containsMergedCells()
Returns true if current row contains merged cells.
|
Object |
getCell(int index)
Returns the data in a cell from the current row.
|
Object |
getCell(int rowIndex,
int colIndex)
Returns a data in a cell for given row.
|
String |
getColumnLabel(int index)
Returns the label of the column.
|
List<org.apache.poi.ss.util.CellRangeAddress> |
getMergedRegions()
Returns list of merged regions of the current row.
|
int |
getRowIndex()
Returns the 0-based index of the currently read row.
|
String |
getRowLabel()
Returns the label of the currently read row.
|
int |
getRowSize()
Returns the row size, that is the number of columns of this row.
|
List<Integer> |
getUrlColumns() |
boolean |
isEndOfStream()
Returns true if the end of the stream has been reached, and there is no more data.
|
void |
nextRow()
Switches to the next row.
|
void |
open(InputStream stream)
Opens the given stream to read data from.
|
void |
setUrlColumns(List<Integer> urlColumns) |
void open(InputStream stream)
stream - the stream to read fromvoid nextRow()
Object getCell(int index)
index - the 0-based index of the cell column, should be less than row size.int getRowSize()
boolean isEndOfStream()
void close()
String getColumnLabel(int index)
index - the 0-based index of the columnint getRowIndex()
String getRowLabel()
boolean containsMergedCells()
List<org.apache.poi.ss.util.CellRangeAddress> getMergedRegions()
Object getCell(int rowIndex, int colIndex)
rowIndex - row indexcolIndex - column indexCopyright © 2025 European Spallation Source. All rights reserved.