i'm trying to read in and write to some text files from within a data folder in a jar file.
using the this.getClass().getResource("./data/file1.txt");
returns an url, but i cant figure out how to link that from the IFileWriter / FileReader classes, or how to pass a string into them that works.
any ideas?
using the this.getClass().getResource("./data/file1.txt");
returns an url, but i cant figure out how to link that from the IFileWriter / FileReader classes, or how to pass a string into them that works.
any ideas?