Hi,
I'm trying to write to a resource that will be included in my future jar file (that's just an app, no applet).
I can read it fine with the following code, if I put my file in the same directory as Main.class.
InputStream in = Main.class.getResourceAsStream("file.txt"
Is there anything equivalent that would give me an output stream??
Thanks a lot in advance, I've been on it a while now...
Beatrice
I'm trying to write to a resource that will be included in my future jar file (that's just an app, no applet).
I can read it fine with the following code, if I put my file in the same directory as Main.class.
InputStream in = Main.class.getResourceAsStream("file.txt"
Is there anything equivalent that would give me an output stream??
Thanks a lot in advance, I've been on it a while now...
Beatrice