title: Java, Is it possible to replace Nth line of a file with a string without creating a temp file?
body: <p>The only way I have managed is to create a temp file to do this, but this is not what I want. Can someone provide an example of how to replace the Nth line of a text file with a string WITHOUT making a temp file.</p>
  
  <p>Thanks in advance =)</p>