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
Method Summary |
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 |
PassThroughLineAggregator
public PassThroughLineAggregator()
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)
Copyright © 2009 SpringSource. All Rights Reserved.