public class PrintStreamHandler extends java.lang.Object implements InvocationOutputHandler
System.out.| Constructor and 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 and 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.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.