public class ReaderThread extends Thread
ReaderThread
read from a Reader into a char[] buffer.Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ReaderThread(Reader theReader,
char[] theBuffer,
IntRef theBytesReadRef)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
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 ReaderThread(Reader theReader, char[] theBuffer, IntRef theBytesReadRef)
theReader
- the reader for this threadtheBuffer
- the buffer for readingtheBytesReadRef
- stores the number of bytes readCopyright © 2001–2017 University Health Network. All rights reserved.