gs
Class Task.Out.Stream

java.lang.Object
  extended by gs.Task.Out
      extended by gs.Task.Out.Stream
Enclosing class:
Task.Out

public static class Task.Out.Stream
extends Task.Out

byte stream as output sink.


Nested Class Summary
 
Nested classes/interfaces inherited from class gs.Task.Out
Task.Out.None, Task.Out.Stream
 
Field Summary
protected  OutputStream out
          not null.
 
Fields inherited from class gs.Task.Out
exception
 
Constructor Summary
protected Task.Out.Stream(OutputStream out)
           
 
Method Summary
 Thread beginRead(InputStream in)
          create and start a daemon thread that copies everything.
 
Methods inherited from class gs.Task.Out
endRead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected final OutputStream out
not null.

Constructor Detail

Task.Out.Stream

protected Task.Out.Stream(OutputStream out)
Method Detail

beginRead

public Thread beginRead(InputStream in)
create and start a daemon thread that copies everything.

Specified by:
beginRead in class Task.Out