Package 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 Object implements LineAggregator<T>
A `LineAggregator` implementation that simply calls `Object.toString()` on the given object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PassThroughLineAggregator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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 Details

  - ### PassThroughLineAggregator

    public PassThroughLineAggregator()

- ## Method Details

  - ### aggregate

    public 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)`