org.springframework.batch.item.file.transform

## Class PassThroughLineAggregator<T>

- java.lang.Object
- - org.springframework.batch.item.file.transform.PassThroughLineAggregator<T>

- All Implemented Interfaces:
    LineAggregator<T>

      public class PassThroughLineAggregator<T>
      extends java.lang.Object
      implements LineAggregator<T>

  A `LineAggregator` implementation that simply calls `Object.toString()` on the given object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PassThroughLineAggregator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `aggregate(T item)` Simply convert to a String with toString().

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

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

- - ### Constructor Detail

    - #### PassThroughLineAggregator

          public PassThroughLineAggregator()

  - ### Method Detail

    - #### aggregate

          public java.lang.String aggregate(T item)

      Simply convert to a String with toString().
      Specified by:
        `aggregate` in interface `LineAggregator<T>`
      Parameters:
        `item` - values to be converted
      Returns:
        string
      See Also:
        `LineAggregator.aggregate(java.lang.Object)`