public class StreamPipeThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
StreamPipeThread(InputStream in)
Creates a StreamPipeThread that reads from an InputStream
but does not pipe the input.
|
StreamPipeThread(InputStream in,
OutputStream out)
Creates a StreamPipeThread that reads from an InputStream
and pipes the input to an OutputStream.
|
StreamPipeThread(Reader rin)
Creates a StreamPipeThread that reads from a Reader
but does not pipe the input.
|
StreamPipeThread(Reader rin,
Writer wout)
Creates a StreamPipeThread that reads from a Reader
but does not pipe the input.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Reads input from a source and optionally pipes it to a sink.
|
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 StreamPipeThread(InputStream in)
public StreamPipeThread(InputStream in, OutputStream out)
public StreamPipeThread(Reader rin)
Copyright © 2025. All rights reserved.