|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
java.gate.versioning.cmdline.AbstractRepository.StreamGobbler
class AbstractRepository.StreamGobbler extends Thread
This class is used to consume streams in new threads without blocking.
Field Summary | |
---|---|
StringWriter |
gobbled
|
PrintWriter |
gobbledPrinter
|
InputStream |
is
|
Fields inherited from class Thread | |
---|---|
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY |
Constructor Summary | |
AbstractRepository.StreamGobbler(InputStream is)
|
Method Summary | |
---|---|
String
|
getGobbled()
|
void
|
run()
|
Methods inherited from class Thread | |
---|---|
run, isInterrupted, currentThread, toString, getName, getThreadGroup, getStackTrace, dumpStack, setDaemon, setPriority, start, activeCount, checkAccess, countStackFrames, destroy, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getPriority, getState, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, join, join, join, resume, setContextClassLoader, setDefaultUncaughtExceptionHandler, setName, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, yield, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
StringWriter gobbled
PrintWriter gobbledPrinter
InputStream is
Constructor Detail |
---|
public AbstractRepository.StreamGobbler(InputStream is)
Method Detail |
---|
public String getGobbled()
public void run()
Groovy Documentation