title: java me: How to clear a file
body: <p>How to clear a file in J2ME so that it becomes empty (no content)?<br>
  All output streams (<code>OutputStream, DataOutputStream, PrintStream...</code>)<br>
  can only <code>write()</code> and add the content to the file while I see no way to delete a byte/bytes in a file.<br><br>
  I use Netbeams 7.0.1<br><br>
  Thanks for any help</p>