InvocationOutputHandler, org.codehaus.plexus.util.cli.StreamConsumerSystemOutHandlerpublic class PrintStreamHandler extends java.lang.Object implements InvocationOutputHandler
System.out.| Constructor | Description |
|---|---|
PrintStreamHandler() |
Creates a new output handler that writes to
System.out. |
PrintStreamHandler(java.io.PrintStream out,
boolean alwaysFlush) |
Creates a new output handler that writes to the specified print stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
consumeLine(java.lang.String line) |
public PrintStreamHandler()
System.out.public PrintStreamHandler(java.io.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.