public class StreamRedirectThread
extends Thread
Constructor and Description |
---|
StreamRedirectThread(String name,
InputStream in,
OutputStream out)
Set up for copy.
|
StreamRedirectThread(String name,
Reader in,
Writer out) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Copy.
|
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
public StreamRedirectThread(String name, InputStream in, OutputStream out)
name
- Name of the threadin
- Stream to copy fromout
- Stream to copy topublic StreamRedirectThread(String name, Reader in, Writer out)