public class StreamPumper extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
StreamPumper(InputStream in,
            StreamConsumer consumer)  | 
StreamPumper(InputStream in,
            StreamConsumer consumer,
            Charset charset)  | 
| Modifier and Type | Method and 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. 
 | 
Exception | 
getException()  | 
void | 
run()
run it. 
 | 
protected void | 
setDone()  | 
void | 
waitUntilDone()  | 
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 StreamPumper(InputStream in, StreamConsumer consumer)
in - InputStreamconsumer - StreamConsumerpublic StreamPumper(InputStream in, StreamConsumer consumer, @Nullable Charset charset)
in - InputStreamconsumer - StreamConsumercharset - Charsetpublic void run()
@Deprecated public void flush()
@Deprecated public void close()
public void waitUntilDone()
                   throws InterruptedException
InterruptedExceptionpublic void disable()
protected void setDone()
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.