com.compomics.util.io
Class StreamGobbler

java.lang.Object
  extended by com.compomics.util.io.StreamGobbler
All Implemented Interfaces:
Runnable

public class StreamGobbler
extends Object
implements Runnable

A stream gobbler.

Author:
Davy Maddelein

Constructor Summary
StreamGobbler(InputStream is, String type, BufferedWriter bw)
          Constructor.
 
Method Summary
 String getMessages()
           
 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 is,
                     String type,
                     BufferedWriter bw)
Constructor.

Parameters:
is - the input stream
type - the stream type
bw - the buffered writer
Method Detail

run

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

getMessages

public String getMessages()


Copyright © 2013. All Rights Reserved.