public class LinesStreamPumper extends StreamPumper
StreamPumper.LineConsumerThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LinesStreamPumper(InputStream stream)
Creates a new pumper for the specified stream.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getLines()
Gets the lines read from the stream by this pumper.
|
getConsumer, runactiveCount, 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 LinesStreamPumper(InputStream stream)
stream - The input stream to read from.