title: PrintWriter to multiple files
body: <p>I need to write the same text to multiple files (or streams).
  Sometimes I need to use Writer, sometimes a PrintWriter, sometimes a OutputStream...</p>
  
  <p>One way to do this wold be to extend a PrintWriter to have an array of PrintWriters and overridde each method as follows:</p>
  
  <pre><code>class MutiplePrintWriter extends PrintWriter {
      private PrintWriter[] outs;
      public MutiplePrintWriter(PrintWriter[] outs) { this.out = out; }
  
      public void print(boolean b) { for (PrintWriter out : outs) print(b); }
      public void print(char c) { for (PrintWriter out : outs) print(c); }
      public void print(char[] s) { for (PrintWriter out : outs) print(s); }
      ...
  }   
  </code></pre>
  
  <p>(and the same for Writer, OutputStream...)</p>
  
  <p>Is there a better alternative?
  Is this already implemented in a library?</p>