Class CompositeItemStream

java.lang.Object
org.springframework.batch.item.support.CompositeItemStream
All Implemented Interfaces:
ItemStream

public class CompositeItemStream extends Object implements ItemStream
Simple ItemStream that delegates to a list of other streams.
Author:
Dave Syer, Mahmoud Ben Hassine
  • Constructor Details

    • CompositeItemStream

      public CompositeItemStream()
      Default constructor
    • CompositeItemStream

      public CompositeItemStream(List<ItemStream> streams)
      Convenience constructor for setting the ItemStreams.
      Parameters:
      streams - List of ItemStream.
    • CompositeItemStream

      public CompositeItemStream(ItemStream... streams)
      Convenience constructor for setting the ItemStreams.
      Parameters:
      streams - array of ItemStream.
  • Method Details