public class ThreadedReader
extends java.lang.Thread
Constructor and Description |
---|
ThreadedReader(java.io.BufferedReader reader,
java.util.ArrayList<java.lang.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(java.io.BufferedReader reader, java.util.ArrayList<java.lang.String> out)
reader
- either standard err or standard inout
- to store the outputCopyright © 2008-2018 Regents University of California. All Rights Reserved.