public abstract class InputStreamHandler<T> extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
abstract void |
addToBuffer(String line) |
T |
getBuffer() |
static InputStreamHandler<StringBuffer> |
getInputStreamAsBufferedString(InputStream stream) |
static InputStreamHandler<List<String>> |
getInputStreamAsList(InputStream stream) |
void |
run()
read data into buffer
|
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, yieldpublic abstract void addToBuffer(String line)
public static InputStreamHandler<StringBuffer> getInputStreamAsBufferedString(InputStream stream)
public static InputStreamHandler<List<String>> getInputStreamAsList(InputStream stream)
Copyright © 2014. All rights reserved.