Class ArrayFieldSetMapper
java.lang.Object
org.springframework.batch.item.file.mapping.ArrayFieldSetMapper
- All Implemented Interfaces:
- FieldSetMapper<String[]>
A basic array mapper, returning the values backing a fieldset. Useful for reading the
 Strings resulting from the line tokenizer without having to deal with a
 
FieldSet object.- Author:
- Costin Leau
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]mapFieldSet(FieldSet fieldSet) Method used to map data obtained from aFieldSetinto an object.
- 
Constructor Details- 
ArrayFieldSetMapperpublic ArrayFieldSetMapper()
 
- 
- 
Method Details- 
mapFieldSetDescription copied from interface:FieldSetMapperMethod used to map data obtained from aFieldSetinto an object.- Specified by:
- mapFieldSetin interface- FieldSetMapper<String[]>
- Parameters:
- fieldSet- the- FieldSetto map
- Returns:
- the populated object
- Throws:
- org.springframework.validation.BindException- if there is a problem with the binding
 
 
-