aspose file tools*
The moose likes Java in General and the fly likes Reading a zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading a zip file" Watch "Reading a zip file" New topic
Author

Reading a zip file

Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
Hi,
I have a zip/jar file which has images. The zip file is in the same dir as my java class.
Question: How to open the zip/jar files to display the image file inside the zip/jar file.

The following line of code did not work.

I get an IO Exception.

Thank you
Garandi
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"Garandi Garandi",
It appears that you had a valid display name and have changed it to an invalid one. Either that or your display name has never been valid.

Either way, you need to correct this immediately or your account will be deleted. We take the naming rules quite seriously and 193 posts is unacceptable for an account having an invalid display name.

We require display names to be two words: your first name, a space, then your last name. Fictitious name are not allowed.

Please edit your profile immediately or your account will be deleted.

Thanks,
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading a zip file