All Known Implementing Classes:
DefaultRowSet

public interface RowSet
Used by the org.springframework.batch.item.excel.AbstractExcelItemReader to abstract away the complexities of the underlying Excel API implementations.
Since:
0.1.0
Author:
Marten Deinum
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the current row as a String[].
    int
    Returns 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.
    boolean
    Move to the next row in the document.
  • Method Details

    • getMetaData

      RowSetMetaData getMetaData()
      Retrieves the meta data (name of the sheet, number of columns, names) of this row set.
      Returns:
      a corresponding RowSetMetaData instance.
    • next

      boolean next()
      Move to the next row in the document.
      Returns:
      true if the row is valid, false if there are no more rows
    • getCurrentRowIndex

      int getCurrentRowIndex()
      Returns the current row number.
      Returns:
      the current row number
    • getCurrentRow

      String[] getCurrentRow()
      Return the current row as a String[].
      Returns:
      the row as a String[]
    • getProperties

      Properties getProperties()
      Construct name-value pairs from the column names and string values. null values are omitted.
      Returns:
      some properties representing the row set.
      Throws:
      IllegalStateException - if the column name meta data is not available.