aspose file tools*
The moose likes Java in General and the fly likes How to get access of a xml file inside a zip file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to get access of a xml file inside a zip file?" Watch "How to get access of a xml file inside a zip file?" New topic
Author

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

Yu Chen
Greenhorn

Joined: Dec 03, 2001
Posts: 28
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


SCJP2<br />SCWCD
Wirianto Djunaidi
Ranch Hand

Joined: Mar 20, 2001
Posts: 210

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get access of a xml file inside a zip file?