public class DumpStreamThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DumpStreamThread(InputStream inputStream,
OutputStream outputStream,
String childProcessLoggerName) |
Modifier and Type | Method and Description |
---|---|
void |
flushBuffer() |
StringBuffer |
getOutputStringBuffer() |
int |
getOutputStringBufferMaxLength() |
void |
interrupt() |
boolean |
isInterrupted() |
void |
run() |
void |
setIgnoreErrors(boolean ignoreErrors) |
void |
setOutputStringBuffer(StringBuffer outputStringBuffer) |
void |
setOutputStringBufferMaxLength(int outputStringBufferMaxLength) |
void |
start() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
public DumpStreamThread(InputStream inputStream, OutputStream outputStream, String childProcessLoggerName) throws IOException
IOException
public void setIgnoreErrors(boolean ignoreErrors)
public boolean isInterrupted()
isInterrupted
in class Thread
public void setOutputStringBuffer(StringBuffer outputStringBuffer)
public StringBuffer getOutputStringBuffer()
public void setOutputStringBufferMaxLength(int outputStringBufferMaxLength)
public int getOutputStringBufferMaxLength()
public void flushBuffer()
Copyright © 2013-2014. All Rights Reserved.