java.lang.Runnable
public 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, wait
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public 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.Runnable
run
in class java.lang.Thread
Copyright (c) 2001-2002 - Apache Software Foundation