| |
com.declarativa.interprolog.util
Class OutputHandler
java.lang.Object
java.lang.Thread
com.declarativa.interprolog.util.OutputHandler
- All Implemented Interfaces:
- Runnable
- public class OutputHandler
- extends Thread
An object consuming input from a stream, analysing it and sending messages to a list
of OutputListener objects; if a debugStream is provided it gets a copy of all the input read
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 |
OutputHandler
public OutputHandler(InputStream s,
OutputStream debugStream,
String name)
OutputHandler
public OutputHandler(InputStream s,
OutputStream debugStream)
OutputHandler
public OutputHandler(InputStream s)
addOutputListener
public void addOutputListener(OutputListener ol)
removeOutputListener
public void removeOutputListener(OutputListener ol)
hasListener
public boolean hasListener(OutputListener ol)
run
public void run()
setIgnoreStreamEnd
public void setIgnoreStreamEnd(boolean ignore)
setDebugStream
public void setDebugStream(OutputStream debugStream)
|