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)
          Constructor.
 
Method Summary
 String getMessages()
          Returns the messages.
 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)
Constructor.

Parameters:
is - the input stream
Method Detail

run

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

getMessages

public String getMessages()
Returns the messages.

Returns:
the messages


Copyright © 2013. All Rights Reserved.