Interface RowMapper<T>

Type Parameters:
T - the type
All Known Implementing Classes:
BeanWrapperRowMapper, PassThroughRowMapper

public interface RowMapper<T>
Map rows from an excel sheet to an object.
Since:
0.1.0
Author:
Marten Deinum
  • Method Summary

    Modifier and Type
    Method
    Description
    Implementations must implement this method to map the provided row to the parameter type T.
  • Method Details

    • mapRow

      T mapRow(RowSet rs) throws Exception
      Implementations must implement this method to map the provided row to the parameter type T. The row number represents the number of rows into a Sheet the current line resides.
      Parameters:
      rs - the RowSet used for mapping.
      Returns:
      mapped object of type T
      Throws:
      Exception - if error occured while parsing.