public interface RowSet
org.springframework.batch.item.excel.AbstractExcelItemReader to abstract away
the complexities of the underlying Excel API implementations.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColumnValue(int idx)
Retrieves the value of the indicated column in the current row as a
String. |
java.lang.String[] |
getCurrentRow()
Return the current row as a
String[]. |
int |
getCurrentRowIndex()
Returns the current row number
|
RowSetMetaData |
getMetaData()
Retrieves the meta data (name of the sheet, number of columns, names) of this row set.
|
java.util.Properties |
getProperties()
Construct name-value pairs from the column names and string values.
|
boolean |
next()
Move to the next row in the document.
|
RowSetMetaData getMetaData()
RowSetMetaData instance.boolean next()
true if the row is valid, false if there are no more rowsint getCurrentRowIndex()
java.lang.String[] getCurrentRow()
String[].String[]java.lang.String getColumnValue(int idx)
String.idx - the column index, 0 basedString respresenting the column value.java.util.Properties getProperties()
null
values are omitted.java.lang.IllegalStateException - if the column name meta data is not
available.