Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ThreadedReader(BufferedReader reader,
ArrayList<String> out)
Create an instance of a ThreadedReader attached to a buffered reader
and place all content in an String ArrayList.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Do the thread's work.
|
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 ThreadedReader(BufferedReader reader, ArrayList<String> out)
reader
- either standard err or standard inout
- to store the outputCopyright © 2008-2009 Regents University of California. All Rights Reserved.