views:

61

answers:

1

reader = new InputStreamReader(MyClass.class.getResourceAsStream( "/apathdir/textFile.txt"), "UTF-8")

Hi!

I have this reader and, basically, i want to do a writer, this way, save this file on same path of the jar file, like:

>ls
>myJarFile.jar textFile.txt

A: 

Try this:

./textfile.txt
Marcus Adams