java.lang.Runnablepublic class StreamConnector
extends java.lang.Thread
| Constructor | 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 | Description |
|---|---|---|
void |
run() |
Connect the InputStream and OutputStream objects specified in the
StreamConnector(InputStream, OutputStream) constructor. |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, 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