public class StreamingProcessReader extends AbstractProcessReader
StreamingProcessOwner
object, if appropriate.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_Forward
whether to forward the output to the owner.
|
protected StreamingProcessOwner |
m_Owner
the owner.
|
m_Process, m_Stdout| Constructor and Description |
|---|
StreamingProcessReader(StreamingProcessOwner owner,
java.lang.Process process,
boolean stdout)
Initializes the reader.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
process(java.lang.String line)
For processing the line read from stdout/stderr.
|
getProcess, isStdout, runprotected StreamingProcessOwner m_Owner
protected boolean m_Forward
public StreamingProcessReader(StreamingProcessOwner owner, java.lang.Process process, boolean stdout)
owner - the owning objectprocess - the process to monitorstdout - whether to read stdout or stderrprotected void process(java.lang.String line)
process in class AbstractProcessReaderline - the output lineCopyright © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.