com.ibm.di.function
Class ExecuteCommand.StreamReader
java.lang.Object
java.lang.Thread
com.ibm.di.function.ExecuteCommand.StreamReader
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ExecuteCommand
public static class ExecuteCommand.StreamReader
- extends Thread
Local thread that reads an input stream and buffers the stream in a
string buffer.
Method Summary |
void |
run()
Main processing method for the StreamReader object |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
reader
public BufferedReader reader
- the stream to read from
buffer
public StringBuffer buffer
- the string buffer to buffer data into
ExecuteCommand.StreamReader
public ExecuteCommand.StreamReader(InputStream is)
- Constructor for the StreamReader object
- Parameters:
is
- the reader to read from
run
public void run()
- Main processing method for the StreamReader object
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread