Class PassThroughRowMapper

java.lang.Object
org.springframework.batch.extensions.excel.mapping.PassThroughRowMapper
All Implemented Interfaces:
RowMapper<String[]>

public class PassThroughRowMapper extends Object implements 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 Details

    • PassThroughRowMapper

      public PassThroughRowMapper()
  • Method Details

    • mapRow

      public String[] mapRow(RowSet rs) throws Exception
      Description copied from interface: RowMapper
      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.