java.lang.Object
org.springframework.batch.extensions.excel.support.rowset.DefaultRowSet
All Implemented Interfaces:
RowSet

public class DefaultRowSet extends Object implements RowSet
Default implementation of the RowSet interface.
Since:
0.1.0
Author:
Marten Deinum
See Also:
  • Method Details

    • getMetaData

      public RowSetMetaData getMetaData()
      Description copied from interface: RowSet
      Retrieves the meta data (name of the sheet, number of columns, names) of this row set.
      Specified by:
      getMetaData in interface RowSet
      Returns:
      a corresponding RowSetMetaData instance.
    • next

      public boolean next()
      Description copied from interface: RowSet
      Move to the next row in the document.
      Specified by:
      next in interface RowSet
      Returns:
      true if the row is valid, false if there are no more rows
    • getCurrentRowIndex

      public int getCurrentRowIndex()
      Description copied from interface: RowSet
      Returns the current row number.
      Specified by:
      getCurrentRowIndex in interface RowSet
      Returns:
      the current row number
    • getCurrentRow

      public String[] getCurrentRow()
      Description copied from interface: RowSet
      Return the current row as a String[].
      Specified by:
      getCurrentRow in interface RowSet
      Returns:
      the row as a String[]
    • getProperties

      public Properties getProperties()
      Description copied from interface: RowSet
      Construct name-value pairs from the column names and string values. null values are omitted.
      Specified by:
      getProperties in interface RowSet
      Returns:
      some properties representing the row set.