A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Reading a zip file
Joined: Jan 07, 2003
Feb 10, 2005 08:49:00
I have a zip/jar file which has images. The zip file is in the same dir as my
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.
InputStream in = new BufferedInputStream(new FileInputStream("pizza.jar"));
I get an IO Exception.
Joined: Mar 06, 2001
Feb 10, 2005 08:53:00
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.
edit your profile
immediately or your account will be deleted.
It is sorta covered in the
JavaRanch Style Guide
subject: Reading a zip file
zip file problem
Getting Invalid Package Error while connecting to Oracle
extract directory from current jar
Is there a way to check if a file is a zip file in java?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014