This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
Similar Threads
How to unzip a file??
Unzip
Reading a zip file
problem with opening zip file and reading the contents in the zip files
How to properly insert xsi:schemaLocation in XML file?