Package adams.core.management
Class OutputProcessStream
- java.lang.Object
-
- adams.core.management.OutputProcessStream
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractOutputPrinter
m_Printer
the output printer in use.protected boolean
m_Stopped
whether the output was stopped.
-
Constructor Summary
Constructors Constructor Description OutputProcessStream(Process process, Class cls, boolean stdout)
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractOutputPrinter
getPrinter()
Returns the printer instance in use.void
run()
Prints the output from the process.void
stop()
Stops the output.
-
-
-
Field Detail
-
m_Stopped
protected boolean m_Stopped
whether the output was stopped.
-
m_Printer
protected AbstractOutputPrinter m_Printer
the output printer in use.
-
-
Method Detail
-
getPrinter
public AbstractOutputPrinter getPrinter()
Returns the printer instance in use.- Returns:
- the output printer
-
stop
public void stop()
Stops the output.
-
-