Class DefaultOutputPrinter

    • Constructor Detail

      • DefaultOutputPrinter

        public DefaultOutputPrinter​(boolean stdout,
                                    Process process)
        Initializes the printer.
        Parameters:
        stdout - whether to use stdout or stderr
        process - the process to monitor
    • Method Detail

      • output

        protected void output​(String line)
        Outputs the specified line.
        Specified by:
        output in class AbstractOutputPrinter
        Parameters:
        line - the text to output