Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get access of a xml file inside a zip file?

 
Yu Chen
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get access of a xml file inside a zip file? I have a staroffice 6.0 doc which a basically a zipped file containing a few xml files. What I want to do is to just process one xml file word by word as a inputstream.
Any ideas?
Thanks!!
-yu chen
 
Wirianto Djunaidi
Ranch Hand
Posts: 210
Ruby Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use java.util.zip.ZipInputStream or ZipFile to do that.
It's probably easier with ZipFile.

..and go nuts.
[ February 27, 2003: Message edited by: Ryo Saeba ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic