title: Most efficient way to write a string to a file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1053467/how-do-i-save-a-string-to-a-text-file-using-java">How do I save a String to a text file using Java?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to add a reading from a machine to a file (Java).
  The reading will be in the form of a string that I have formatted. The file is just a text file. At the moment I am considering Filewriter/Buffered writer is this the correct one to use?</p>