org.springframework.batch.item.file.mapping

## 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 through `FieldSetMapper` useful for passing a `FieldSet` back directly rather than a mapped object.
  Author:
    Lucas Ward

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PassThroughFieldSetMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FieldSet` | `mapFieldSet(FieldSet fs)` Method used to map data obtained from a `FieldSet` into an object.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PassThroughFieldSetMapper

          public PassThroughFieldSetMapper()

  - ### Method Detail

    - #### mapFieldSet

          public FieldSet mapFieldSet(FieldSet fs)

      Description copied from interface: `FieldSetMapper`
      Method used to map data obtained from a `FieldSet` into an object.
      Specified by:
        `mapFieldSet` in interface `FieldSetMapper<FieldSet>`
      Parameters:
        `fs` - the `FieldSet` to map
      Returns:
        the populated object