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 and Description
    `PrintOutCollector()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### PrintOutCollector

          public PrintOutCollector()

  - ### Method Detail

    - #### getPrintWriter

          public PrintWriter getPrintWriter()

    - #### getPrintOut

          public String getPrintOut()

      Closes the `PrintWriter` and returns the accumulated text output.

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.