edu.rice.cs.util
Class ReaderThread
java.lang.Object
java.lang.Thread
edu.rice.cs.util.ReaderThread
- All Implemented Interfaces:
- Runnable
class ReaderThread
- extends Thread
|
Method Summary |
(package private) void |
close()
|
(package private) int |
read()
|
(package private) int |
read(byte[] b,
int off,
int len)
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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 |
available
volatile int available
pos
volatile int pos
buffer
volatile byte[] buffer
stream
volatile InputStream stream
exception
volatile IOException exception
monitor
volatile JoinInputStream monitor
ReaderThread
ReaderThread(JoinInputStream monitor,
InputStream stream,
int bufferSize)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
read
int read()
throws IOException
- Throws:
IOException
read
int read(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException