Class PassThroughFieldSetMapper
java.lang.Object
org.springframework.batch.item.file.mapping.PassThroughFieldSetMapper
- All Implemented Interfaces:
FieldSetMapper<FieldSet>
Pass through
FieldSetMapper
useful for passing a FieldSet
back directly rather than a mapped object.- Author:
- Lucas Ward
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmapFieldSet
(FieldSet fs) Method used to map data obtained from aFieldSet
into an object.
-
Constructor Details
-
PassThroughFieldSetMapper
public PassThroughFieldSetMapper()
-
-
Method Details
-
mapFieldSet
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
-