org.springframework.batch.item.file.transform
Class PassThroughLineAggregator<T>

java.lang.Object
  extended by 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
PassThroughLineAggregator()
           
 
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
 

Constructor Detail

PassThroughLineAggregator

public PassThroughLineAggregator()
Method Detail

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 © 2013 SpringSource. All Rights Reserved.