title: Replace a character in a BufferedWriter
body: <p>I am creating a text file using <code>BufferedWriter</code></p>
  
  <pre><code>BufferedWriter bufferedWriter = 
             new BufferedWriter(new FileWriter("/home/user/temp.txt"));
  
  /*
  
       Add Contents using bufferedWriter.write()
  
  */
  </code></pre>
  
  <p>At certain places while adding contents I add a string sequence <strong>######</strong></p>
  
  <p>Before I do <code>bufferedWriter.close()</code> I want to replace the <strong>######</strong> sequence with some specific value.</p>
  
  <p>How can I do that?</p>
  
  <p>I do not want to re-open the Writer, but could use a different writer if it allows this to be done.</p>