Groovy Documentation

java.gate.versioning.cmdline
Class AbstractRepository.StreamGobbler

java.lang.Object
  java.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

gobbled

StringWriter gobbled


gobbledPrinter

PrintWriter gobbledPrinter


is

InputStream is


 
Constructor Detail

AbstractRepository.StreamGobbler

public AbstractRepository.StreamGobbler(InputStream is)


 
Method Detail

getGobbled

public String getGobbled()


run

public void run()


 

Groovy Documentation