• Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating a xml file inside a jar file  RSS feed

 
Sivakumar Nachimuthu
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Iam able to read a xml file which is in a jar .I want to modify that xml file.
Can we do that?
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Extract the JAR, change the file, rebuild the JAR.
There's a package, java.util.jar, which has classes for dealing with JAR's.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!