I get an InputStream using InputStream is = this.getClass().getResourceAsStream( "myfile.txt" ); After processing it I want to write to the same file “myfile.txt”. How to do this? I only know this file is in the class file folder and I don’t know its absolute path. Thanks.
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design