public class SimpleInputStreamTask extends StreamTask
| Modifier and Type | Field and Description |
|---|---|
protected int |
SLEEP_DELAY |
abortFlag, finishFlag| Constructor and Description |
|---|
SimpleInputStreamTask(java.io.OutputStream processOutput,
java.io.PipedOutputStream userInput) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionInsideWaitingLoop(java.io.BufferedReader inr)
Run waiting loop inside.
|
protected void |
afterWorking()
Run AFTER:
- main working loop ends
- "finalOutputing()" method
(under "finally" section)
|
protected void |
beforeWorking()
Run BEFORE main working loop starts
(under "try" section)
|
protected void |
exception_dumpToLog(java.lang.Exception e)
By default dump data about exception to jEdit.Log
BEFORE "exception_dumpToOwner()" method
(under "catch" section)
|
protected void |
exception_dumpToOwner(java.lang.Exception e)
By default do nothing AFTER "exception_dumpToLog" method
(under "catch" section)
|
protected void |
flushData(java.lang.String _line)
Flush string of data to working process.
|
void |
run() |
abort, finishactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic SimpleInputStreamTask(java.io.OutputStream processOutput,
java.io.PipedOutputStream userInput)
protected void actionInsideWaitingLoop(java.io.BufferedReader inr)
throws java.lang.Exception
java.lang.Exceptionprotected void beforeWorking()
throws java.lang.Exception
java.lang.Exceptionprotected void flushData(java.lang.String _line)
throws java.lang.Exception
_line - string for flushing to working process
(under "try" section)java.lang.Exceptionprotected void afterWorking()
protected void exception_dumpToLog(java.lang.Exception e)
protected void exception_dumpToOwner(java.lang.Exception e)
public final void run()
run in interface java.lang.Runnablerun in class java.lang.Thread