antlr.build
Class StreamScarfer

java.lang.Object
  extended byjava.lang.Thread
      extended byantlr.build.StreamScarfer
All Implemented Interfaces:
Runnable

class StreamScarfer
extends Thread

Adapted from JavaWorld article by Michael Daconta


Field Summary
(package private)  InputStream is
           
(package private)  Tool tool
           
(package private)  String type
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) StreamScarfer(InputStream is, String type, Tool tool)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

is

InputStream is

type

String type

tool

Tool tool
Constructor Detail

StreamScarfer

StreamScarfer(InputStream is,
              String type,
              Tool tool)
Method Detail

run

public void run()