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 throughFieldSetMapper
useful for passing aFieldSet
back 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 FieldSet
mapFieldSet(FieldSet fs)
Method used to map data obtained from aFieldSet
into an object.
Method Detail
mapFieldSet
public FieldSet mapFieldSet(FieldSet fs)
Description copied from interface:FieldSetMapper
Method used to map data obtained from aFieldSet
into an object.- Specified by:
mapFieldSet
in interfaceFieldSetMapper<FieldSet>
- Parameters:
fs
- theFieldSet
to map- Returns:
- the populated object