Save File that is in source package
<p>I'm trying to save file directories so that when my app opens again the directories are remembered. I want to save the directories to a file called 'directories.txt' which is in my source code package.</p>

<p>I did learn how to read from it by using:</p>

<pre><code>getClass().getResourcesAsStream("/getresources/directories.txt")
</code></pre>

<p>So my question is how do I write to that file? Is this possible.</p>

<p>Thanks,</p>

<p>nt</p>
