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
-
Method Details
-
mapRow
Implementations must implement this method to map the provided row to the parameter type T. The row number represents the number of rows into aSheetthe current line resides.- Parameters:
rs- the RowSet used for mapping.- Returns:
- mapped object of type T
- Throws:
Exception- if error occured while parsing.
-