title: DataOutputStream#writeBytes(String) vs BufferedWriter#write(String)
body: <p>I would like to create a HTML file for my report. The content in the report can be created either by using <code>BufferedWriter#write(String)</code> </p>
  
  <pre><code>File f = new File("source.htm");
  BufferedWriter bw = new BufferedWriter(new FileWriter(f));
  bw.write("Content");
  </code></pre>
  
  <p>or by using <code>DataOutputStream#writeBytes(String)</code></p>
  
  <pre><code>File f = new File("source.htm");
  DataOutputStream dosReport = new DataOutputStream(new FileOutputStream(f)); 
  dosReport.wrtiteBytes("Content");
  </code></pre>
  
  <p>Is one of them better than the other? Why is it so?</p>