Package org.h2.test.synth
Class OutputCatcher
- java.lang.Object
-
- java.lang.Thread
-
- org.h2.test.synth.OutputCatcher
-
- All Implemented Interfaces:
java.lang.Runnable
public class OutputCatcher extends java.lang.ThreadCatches the output of another process.
-
-
Constructor Summary
Constructors Constructor Description OutputCatcher(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringreadLine(long wait)Read a line from the output.voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-