Class FS.StreamGobbler

java.lang.Object
org.eclipse.jgit.util.FS.StreamGobbler
All Implemented Interfaces:
Runnable
Enclosing class:
FS

private static class FS.StreamGobbler extends Object implements Runnable
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.