public class StreamConnector
extends java.lang.Thread
| Constructor and Description |
|---|
StreamConnector(java.io.InputStream is,
java.io.OutputStream os)
Specify the streams that this object will connect in the
run()
method. |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Connect the InputStream and OutputStream objects specified in the
StreamConnector(InputStream, OutputStream) constructor. |
activeCount, checkAccess, clone, 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, yieldpublic StreamConnector(java.io.InputStream is,
java.io.OutputStream os)
run()
method.is - the InputStream to read from.os - the OutputStream to write to.public void run()
StreamConnector(InputStream, OutputStream) constructor.run in interface java.lang.Runnablerun in class java.lang.ThreadCopyright (c) 2001-2002 - Apache Software Foundation