java.lang.Object
org.springframework.batch.extensions.excel.mapping.PassThroughRowMapper
All Implemented Interfaces:
RowMapper <String []>
Pass through
RowMapper useful for passing the orginal
String[] back
directly rather than a mapped object.
Since:
0.1.0
Author:
Marten Deinum
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Implementations must implement this method to map the provided row to the parameter
type T.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
PassThroughRowMapper
public PassThroughRowMapper ()
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 a
Sheet the
current line resides.
Specified by:
mapRow in interface RowMapper <String []>
Parameters:
rs - the RowSet used for mapping.
Returns:
mapped object of type T
Throws:
Exception - if error occured while parsing.