Package org.springframework.batch.item.file.mapping

# Interface FieldSetMapper<T>

All Known Implementing Classes:
  `ArrayFieldSetMapper`, `BeanWrapperFieldSetMapper`, `PassThroughFieldSetMapper`, `RecordFieldSetMapper`

public interface FieldSetMapper<T>
Interface that is used to map data obtained from a `FieldSet` into an object.

Author:
  Tomas Slanina, Dave Syer

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `mapFieldSet(FieldSet fieldSet)`
  Method used to map data obtained from a `FieldSet` into an object.

- ## Method Details

  - ### mapFieldSet

    T mapFieldSet(FieldSet fieldSet) throws org.springframework.validation.BindException
    Method used to map data obtained from a `FieldSet` into an object.
    Parameters:
      `fieldSet` - the `FieldSet` to map
    Returns:
      the populated object
    Throws:
      `org.springframework.validation.BindException` - if there is a problem with the binding