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

    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.

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.