| java.lang.Object java.lang.Thread snow.utils.StreamGobbler
StreamGobbler | public class StreamGobbler extends Thread (Code) | | Reads a stream and pas it to another, (possibly to ignore it).
External processes must be read (gobbled) to avoid some buffer overflows.
Typically, one will gobble a Process's output to System.out .
|
debug | public boolean debug(Code) | | |
ignoredLinesForWriting | final public Set<String> ignoredLinesForWriting(Code) | | |
StreamGobbler | public StreamGobbler(InputStream inputStream)(Code) | | The input will be read, but not forwarded.
|
StreamGobbler | public StreamGobbler(InputStream inputStream, OutputStream outputStream)(Code) | | The outputStream can be null - then the input just will be read, but not forwarded.
If non null outputStream is used as lock for the write op.
|
StreamGobbler | public StreamGobbler(InputStream inputStream, OutputStream outputStream, String theStreamIdentifier)(Code) | | An additional name is passed, which is written out on each beginning of a line.
The outputStream can be null - then the input just will be read, but not forwarded.
|
|
|