Package org.eclipse.jgit.util
Class FS.StreamGobbler
java.lang.Object
org.eclipse.jgit.util.FS.StreamGobbler
- All Implemented Interfaces:
Runnable
- Enclosing class:
FS
This runnable will consume an input stream's content into an output
stream as soon as it gets available.
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
in
-
out
-
-
Constructor Details
-
StreamGobbler
-
-
Method Details
-
run
public void run() -
copy
- Throws:
IOException
-