Class TeePrintWriterWrapper

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    public class TeePrintWriterWrapper
    extends java.io.PrintWriter
    This class wrapped the PrintWriter functionality in order to provide the possibility to write a data to two writers.
    • Field Summary

      • Fields inherited from class java.io.PrintWriter

        out
      • Fields inherited from class java.io.Writer

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      TeePrintWriterWrapper​(java.io.PrintWriter target, java.io.PrintWriter clone)  
    • Method Summary

      • Methods inherited from class java.io.PrintWriter

        append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
      • Methods inherited from class java.io.Writer

        nullWriter
      • Methods inherited from class java.lang.Object

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

      • TeePrintWriterWrapper

        public TeePrintWriterWrapper​(java.io.PrintWriter target,
                                     java.io.PrintWriter clone)