public class SynchronizedItemStreamReaderBuilder<T>
extends java.lang.Object
Constructor and Description |
---|
SynchronizedItemStreamReaderBuilder() |
Modifier and Type | Method and Description |
---|---|
SynchronizedItemStreamReader<T> |
build()
Returns a fully constructed
SynchronizedItemStreamReader . |
SynchronizedItemStreamReaderBuilder<T> |
delegate(ItemStreamReader<T> delegate)
The item stream reader to use as a delegate.
|
public SynchronizedItemStreamReaderBuilder<T> delegate(ItemStreamReader<T> delegate)
SynchronizedItemStreamReader.read()
.delegate
- the delegate to setSynchronizedItemStreamReader.setDelegate(ItemStreamReader)
public SynchronizedItemStreamReader<T> build()
SynchronizedItemStreamReader
.SynchronizedItemStreamReader