public abstract class StreamTask
extends java.lang.Thread
Hierarchy of classes: StreamTask | | | +-- SimpleInputStreamTask --> InputStreamTask | SimpleOutputStreamTask --> ErrorStreamTask | ParsingOutputStreamTask --> OutputStreamTask
Modifier and Type | Field and Description |
---|---|
protected boolean |
abortFlag |
protected boolean |
finishFlag |
Constructor and Description |
---|
StreamTask() |
StreamTask(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Interrupt this thread immediately.
|
void |
finish()
Ask this thread to be completed and wait until one finishes.
|
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield