java write to the end of file with new line
<p>I want to write results to the end of the file using java</p>

<pre><code>FileWriter fStream;
        try {
            fStream = new FileWriter("recallPresision.txt", true);
            fStream.append("queryID=" + queryID + "         " + "recall=" + recall + "           Pres=" + presision);
            fStream.append("\n");
            fStream.flush();
            fStream.close();
        } catch (IOException ex) {
            Logger.getLogger(query.class.getName()).log(Level.SEVERE, null, ex);
        }
</code></pre>

<p>I put <code>"\n"</code> in the statement , it writes to the file but not with new line
<strong><p> I want to print results with new line </p></strong></p>
