com.continuent.tungsten.common.exec
Interface InputStreamSink

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
FileInputStreamSink, LoggerInputStreamSink, StringInputStreamSink

public interface InputStreamSink
extends java.lang.Runnable


Method Summary
 java.lang.String getOutput()
          Return output lines if we are storing output in a string or null if storing to a file.
 void run()
          Reads from the input stream and stores output.
 

Method Detail

run

void run()
Reads from the input stream and stores output. Terminates when the input stream ends.

Specified by:
run in interface java.lang.Runnable

getOutput

java.lang.String getOutput()
Return output lines if we are storing output in a string or null if storing to a file.

Returns:
Output line array.