wcs
Class Task.Out
java.lang.Object
wcs.Task.Out
- Direct Known Subclasses:
- Task.Out.None, Task.Out.Stream
- Enclosing class:
- Task
public abstract static class Task.Out
- extends Object
generic output sink.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
protected Task.Exception exception
- (first) exception thrown by any reader thread.
Task.Out
public Task.Out()
beginRead
public abstract Thread beginRead(InputStream in)
- start reading.
endRead
public void endRead(Thread thread)
throws Task.Exception
- wait for reading to end.
- Throws:
Task.Exception