public class StreamTaskOutput extends Object implements MultipleTaskOutput<OutputStream>, SingleTaskOutput<OutputStream>
OutputStream output destination for a task.| Constructor and Description |
|---|
StreamTaskOutput(OutputStream stream)
Creates a new instance of a
StreamTaskOutput using the input stream |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TaskOutputDispatcher writer)
Accept a dispatcher dispatching the correct method implementation
|
boolean |
equals(Object other) |
OutputStream |
getDestination() |
int |
hashCode() |
String |
toString() |
public StreamTaskOutput(OutputStream stream)
StreamTaskOutput using the input streamstream - IllegalArgumentException - if the input stream is nullpublic OutputStream getDestination()
getDestination in interface TaskOutput<OutputStream>public void accept(TaskOutputDispatcher writer) throws TaskOutputVisitException
TaskOutputaccept in interface TaskOutput<OutputStream>TaskOutputVisitException - in case of errorCopyright © 2015. All Rights Reserved.