public class StreamPumper
extends java.lang.Thread
| Constructor | Description |
|---|---|
StreamPumper(java.io.InputStream in,
StreamConsumer consumer) |
|
StreamPumper(java.io.InputStream in,
StreamConsumer consumer,
java.nio.charset.Charset charset) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Deprecated.
As of 3.2.0, removed without replacement.
|
void |
disable() |
|
void |
flush() |
Deprecated.
As of 3.2.0, removed without replacement.
|
java.lang.Exception |
getException() |
|
void |
run() |
run it.
|
protected void |
setDone() |
|
void |
waitUntilDone() |
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 StreamPumper(java.io.InputStream in,
StreamConsumer consumer)
in - InputStreamconsumer - StreamConsumerpublic StreamPumper(java.io.InputStream in,
StreamConsumer consumer,
@Nullable
java.nio.charset.Charset charset)
in - InputStreamconsumer - StreamConsumercharset - Charsetpublic void run()
run in class java.lang.Thread@Deprecated public void flush()
@Deprecated public void close()
public java.lang.Exception getException()
Exceptionpublic void waitUntilDone()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void disable()
protected void setDone()