File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic