private static class FS.StreamGobbler
extends java.lang.Object
implements java.lang.Runnable
Typically used to empty processes' standard output and error, preventing them to choke.
Note that a FS.StreamGobbler will never close either of its
streams.
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
in |
private java.io.OutputStream |
out |
| Constructor and Description |
|---|
StreamGobbler(java.io.InputStream stream,
java.io.OutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
copy() |
void |
run() |