Class PrintStreamHandler

    • Constructor Detail

      • PrintStreamHandler

        public PrintStreamHandler()
        Creates a new output handler that writes to System.out.
      • PrintStreamHandler

        public PrintStreamHandler​(PrintStream out,
                                  boolean alwaysFlush)
        Creates a new output handler that writes to the specified print stream.
        Parameters:
        out - The print stream to write to, must not be null.
        alwaysFlush - A flag whether the print stream should be flushed after each line.
    • Method Detail

      • consumeLine

        public void consumeLine​(String line)
        Specified by:
        consumeLine in interface org.apache.maven.shared.utils.cli.StreamConsumer