Class PassThroughFieldSetMapper
- java.lang.Object
- org.springframework.batch.item.file.mapping.PassThroughFieldSetMapper
- All Implemented Interfaces:
FieldSetMapper<FieldSet>
public class PassThroughFieldSetMapper extends java.lang.Object implements FieldSetMapper<FieldSet>
Pass throughFieldSetMapperuseful for passing aFieldSetback directly rather than a mapped object.- Author:
- Lucas Ward
Constructor Summary
Constructors Constructor Description PassThroughFieldSetMapper()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldSetmapFieldSet(FieldSet fs)Method used to map data obtained from aFieldSetinto an object.
Method Detail
mapFieldSet
public FieldSet mapFieldSet(FieldSet fs)
Description copied from interface:FieldSetMapperMethod used to map data obtained from aFieldSetinto an object.- Specified by:
mapFieldSetin interfaceFieldSetMapper<FieldSet>- Parameters:
fs- theFieldSetto map- Returns:
- the populated object