public class PrintStreamHandler extends Object implements InvocationOutputHandler
System.out.| Constructor and Description |
|---|
PrintStreamHandler()
Creates a new output handler that writes to
System.out. |
PrintStreamHandler(PrintStream out,
boolean alwaysFlush)
Creates a new output handler that writes to the specified print stream.
|
public PrintStreamHandler()
System.out.public PrintStreamHandler(PrintStream out, boolean alwaysFlush)
out - The print stream to write to, must not be null.alwaysFlush - A flag whether the print stream should be flushed after each line.public void consumeLine(String line)
consumeLine in interface org.apache.maven.shared.utils.cli.StreamConsumerCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.