eu.lindenbaum.maven.util
Class StreamGobbler

java.lang.Object
  extended by eu.lindenbaum.maven.util.StreamGobbler
All Implemented Interfaces:
Runnable

public final class StreamGobbler
extends Object
implements Runnable

Reads all input from an InputStream saving it into a (line based) buffer.

Author:
Olivier Sambourg, Paul Guyot, Tobias Schlager

Constructor Summary
StreamGobbler(InputStream inputStream, Processor processor)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamGobbler

public StreamGobbler(InputStream inputStream,
                     Processor processor)
Method Detail

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2010 Lindenbaum GmbH. All Rights Reserved.