How would you start to open the XML file that is inside the .jar and edit it?
I know you can ...
InputStream myStream = this.getClass().getResourceAsStream("xmlData.xml");
But how would you open xmlData.xml, edit the file and save it in .jar? I would find it useful to know and don’t want to edit the file outside of .jar ... and the application should remain functional all the time!
Thank!
source
share