Class SimpleStreamingProcessOwner

  • All Implemented Interfaces:
    StreamingProcessOwner

    public class SimpleStreamingProcessOwner
    extends java.lang.Object
    implements StreamingProcessOwner
    Simple class for streaming a process's stdout/stderr to this stdout/stderr.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • SimpleStreamingProcessOwner

        public SimpleStreamingProcessOwner()
    • Method Detail

      • processOutput

        public void processOutput​(java.lang.String line,
                                  boolean stdout)
        Processes the incoming line.
        Specified by:
        processOutput in interface StreamingProcessOwner
        Parameters:
        line - the line to process
        stdout - whether stdout or stderr