Package com.compomics.util.io
Class StreamGobbler
java.lang.Object
com.compomics.util.io.StreamGobbler
- All Implemented Interfaces:
Runnable
A stream gobbler.
- Author:
- Davy Maddelein
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorConstructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the messages.voidrun()voidsetContinueReading(boolean continueReading) Set if the reading is to continue or not.
-
Constructor Details
-
StreamGobbler
public StreamGobbler()Empty default constructor -
StreamGobbler
Constructor.- Parameters:
is- the input stream
-
-
Method Details
-
run
public void run() -
getMessages
Returns the messages.- Returns:
- the messages
-
setContinueReading
public void setContinueReading(boolean continueReading) Set if the reading is to continue or not.- Parameters:
continueReading- if the reading is to continue or not
-