Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
BufferedReaderThread(InputStream input)
Constructor for BufferedReaderThread.
|
BufferedReaderThread(InputStream input,
int lineCapacity)
Constructor for BufferedReaderThread.
|
BufferedReaderThread(InputStream input,
int lineCapacity,
File allLinesFile)
Constructor for BufferedReaderThread.
|
Modifier and Type | Method and Description |
---|---|
String |
getError()
Getter for the field
error . |
String |
getOutput() |
BufferedReader |
getReader()
Getter for the field
reader . |
void |
run() |
void |
setReader(BufferedReader reader)
Setter for the field
reader . |
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 BufferedReaderThread(InputStream input)
Constructor for BufferedReaderThread.
input
- a InputStream
object.public BufferedReaderThread(InputStream input, int lineCapacity)
Constructor for BufferedReaderThread.
input
- a InputStream
object.lineCapacity
- set the capacity for the buffered reader, set to Integer.MAX_VALUE to store everythingpublic BufferedReaderThread(InputStream input, int lineCapacity, File allLinesFile)
Constructor for BufferedReaderThread.
input
- a InputStream
object.lineCapacity
- set the capacity for the buffered reader, set to Integer.MAX_VALUE to store everythingallLinesFile
- public String getOutput()
public BufferedReader getReader()
Getter for the field reader
.
BufferedReader
object.public void setReader(BufferedReader reader)
Setter for the field reader
.
reader
- a BufferedReader
object.Copyright © 2015 SeqWare. All rights reserved.