Package org.apache.tapestry5.internal.util

# Class PrintOutCollector

java.lang.Object
org.apache.tapestry5.internal.util.PrintOutCollector

public class PrintOutCollector extends Object
Utility for collecting the output of a `PrintWriter`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PrintOutCollector()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getPrintOut()`
  Closes the `PrintWriter` and returns the accumulated text output.
  `PrintWriter`
  `getPrintWriter()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PrintOutCollector

    public PrintOutCollector()

- ## Method Details

  - ### getPrintWriter

    public PrintWriter getPrintWriter()

  - ### getPrintOut

    public String getPrintOut()
    Closes the `PrintWriter` and returns the accumulated text output.