クラス RecursiveCollectionLineAggregator<T>

java.lang.ObjectSE
org.springframework.batch.item.file.transform.RecursiveCollectionLineAggregator<T>
実装されたすべてのインターフェース:
LineAggregator<CollectionSE<T>>

public class RecursiveCollectionLineAggregator<T> extends ObjectSE implements LineAggregator<CollectionSE<T>>
共通型のアイテムのコレクションをシステム行セパレーターと連結する LineAggregator の実装。
作成者:
Dave Syer
  • コンストラクターの詳細

    • RecursiveCollectionLineAggregator

      public RecursiveCollectionLineAggregator()
  • メソッドの詳細

    • setDelegate

      public void setDelegate(LineAggregator<T> delegate)
      文字列ではない単一のアイテムで使用する LineAggregator のパブリック setter。これは、コレクション要素と配列要素の文字列への変換を戦略化するために使用できます。
      パラメーター:
      delegate - 設定するラインアグリゲーター。デフォルトはパススルーです。
    • aggregate

      public StringSE aggregate(CollectionSE<T> items)
      インターフェースからコピーされた説明: LineAggregator
      指定された値から文字列を作成します。
      次で指定:
      インターフェース LineAggregator<T>aggregate 
      パラメーター:
      items - 変換される値
      戻り値:
      文字列