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>
ALineAggregator
implementation that simply callsObject.toString()
on the given object
Constructor Summary
Constructors Constructor Description PassThroughLineAggregator()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
aggregate(T item)
Simply convert to a String with toString().
Method Detail
aggregate
public java.lang.String aggregate(T item)
Simply convert to a String with toString().- Specified by:
aggregate
in interfaceLineAggregator<T>
- Parameters:
item
- values to be converted- Returns:
- string
- See Also:
LineAggregator.aggregate(java.lang.Object)