public class PrintOutCollector extends Object
PrintWriter
.Constructor and Description |
---|
PrintOutCollector() |
Modifier and Type | Method and Description |
---|---|
String |
getPrintOut()
Closes the
PrintWriter and returns the accumulated text output. |
PrintWriter |
getPrintWriter() |
public PrintOutCollector()
public PrintWriter getPrintWriter()
public String getPrintOut()
PrintWriter
and returns the accumulated text output.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.