public class StreamPumper extends AbstractStreamHandler
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
StreamPumper(InputStream in) |
StreamPumper(InputStream in,
PrintWriter writer) |
StreamPumper(InputStream in,
PrintWriter writer,
StreamConsumer consumer) |
StreamPumper(InputStream in,
StreamConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
Exception |
getException() |
void |
run() |
disable, isDisabled, isDone, setDone, 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, yield
public StreamPumper(InputStream in)
public StreamPumper(InputStream in, StreamConsumer consumer)
public StreamPumper(InputStream in, PrintWriter writer)
public StreamPumper(InputStream in, PrintWriter writer, StreamConsumer consumer)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.