Class PrintOutCollector


  • public class PrintOutCollector
    extends java.lang.Object
    Utility for collecting the output of a PrintWriter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPrintOut()
      Closes the PrintWriter and returns the accumulated text output.
      java.io.PrintWriter getPrintWriter()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPrintOut

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