Class DefaultRowSet
java.lang.Object
org.springframework.batch.extensions.excel.support.rowset.DefaultRowSet
- All Implemented Interfaces:
RowSet
Default implementation of the
RowSet interface.- Since:
- 0.1.0
- Author:
- Marten Deinum
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionString[]Return the current row as aString[].intReturns the current row number.Retrieves the meta data (name of the sheet, number of columns, names) of this row set.Construct name-value pairs from the column names and string values.booleannext()Move to the next row in the document.
-
Method Details
-
getMetaData
Description copied from interface:RowSetRetrieves the meta data (name of the sheet, number of columns, names) of this row set.- Specified by:
getMetaDatain interfaceRowSet- Returns:
- a corresponding
RowSetMetaDatainstance.
-
next
public boolean next()Description copied from interface:RowSetMove to the next row in the document. -
getCurrentRowIndex
public int getCurrentRowIndex()Description copied from interface:RowSetReturns the current row number.- Specified by:
getCurrentRowIndexin interfaceRowSet- Returns:
- the current row number
-
getCurrentRow
Description copied from interface:RowSetReturn the current row as aString[].- Specified by:
getCurrentRowin interfaceRowSet- Returns:
- the row as a
String[]
-
getProperties
Description copied from interface:RowSetConstruct name-value pairs from the column names and string values.nullvalues are omitted.- Specified by:
getPropertiesin interfaceRowSet- Returns:
- some properties representing the row set.
-