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 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(BufferedReader reader)
- Constructor for the streamReader object
- Parameters:
reader
- 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