public abstract static class Executable.StreamPumper<T> extends Object implements Runnable, Serializable
Runnable.run() method, stream will be set and
readable by you. Do not close the stream. Make sure your output object has a decent Object.toString()
implementation or, better yet, implements Iterable.| Modifier and Type | Field and Description |
|---|---|
protected T |
output |
protected InputStream |
stream |
| Constructor and Description |
|---|
Executable.StreamPumper(T output) |
protected transient InputStream stream
protected T output
public Executable.StreamPumper(T output)
Copyright © 2011-2013 Johann Burkard. All Rights Reserved.