org.qi4j.api.io
Interface Input<T,SenderThrowableType extends Throwable>


public interface Input<T,SenderThrowableType extends Throwable>

Input source of data.

Invoke transferTo to send data from this input to given output. transferTo can be invoked as many times as you want.


Method Summary
<ReceiverThrowableType extends Throwable>
void
transferTo(Output<? super T,ReceiverThrowableType> output)
           
 

Method Detail

transferTo

<ReceiverThrowableType extends Throwable> void transferTo(Output<? super T,ReceiverThrowableType> output)
                throws SenderThrowableType extends Throwable,
                       ReceiverThrowableType extends Throwable
Throws:
SenderThrowableType extends Throwable