java.lang.Runnablepublic class StreamingProcessReader extends AbstractProcessReader
StreamingProcessOwner
object, if appropriate.| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
m_Forward |
whether to forward the output to the owner.
|
protected StreamingProcessOwner |
m_Owner |
the owner.
|
m_Stdoutm_Process, m_Queue, m_Stopped| Constructor | Description |
|---|---|
StreamingProcessReader(StreamingProcessOwner owner,
boolean stdout) |
Initializes the reader.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
process(java.lang.String line) |
For processing the line read from stdout/stderr.
|
doRun, isStdoutgetProcess, isStopped, run, setProcess, stopExecutionprotected StreamingProcessOwner m_Owner
protected boolean m_Forward
public StreamingProcessReader(StreamingProcessOwner owner, boolean stdout)
owner - the owning objectstdout - whether to read stdout or stderrprotected void process(java.lang.String line)
process in class AbstractProcessReaderline - the output lineCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.