Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Zip file parsing

17 views
Skip to first unread message

Kenneth Porter

unread,
Jul 28, 1997, 3:00:00 AM7/28/97
to

Is there a standard way to unpack a compressed zip file? Preferably with
1.0.2 so that I can use it with Netscape?

I want to provide a viewer to preview downloadable images on the web
stored in an unusual format. The format is highly-compressable
(basically a line drawing with coordinates stored as 2 dwords) so a site
would normally distribute one or more such images in a zip file. I have
a working viewer that understands the uncompressed image, but I'd like
it be able to handle images in zip files, perhaps via a stream filter.

--
Ken
mailto:sh...@well.com
mailto:76161...@CompuServe.COM
http://www.well.com/user/shiva/

Sean C Sullivan

unread,
Jul 29, 1997, 3:00:00 AM7/29/97
to

JDK 1.1 includes the java.util.zip package
You can use ZipInputStream and ZipEntry to extract files
out of a ZIP archive.

Unfortunately, Netscape Navigator 3.x and MSIE 3.x do not
provide the java.util.zip package.


In article <33DD60...@well.com>, Kenneth Porter <sh...@well.com> wrote:
>Is there a standard way to unpack a compressed zip file? Preferably with
>1.0.2 so that I can use it with Netscape?
>
>I want to provide a viewer to preview downloadable images on the web
>stored in an unusual format. The format is highly-compressable
>(basically a line drawing with coordinates stored as 2 dwords) so a site
>would normally distribute one or more such images in a zip file. I have
>a working viewer that understands the uncompressed image, but I'd like
>it be able to handle images in zip files, perhaps via a stream filter.
--

"I'd rather make history than study history" - me, 1995

Igor Boukanov

unread,
Jul 30, 1997, 3:00:00 AM7/30/97
to

Sean C Sullivan (sul...@linda.teleport.com) wrote:
> JDK 1.1 includes the java.util.zip package
> You can use ZipInputStream and ZipEntry to extract files
> out of a ZIP archive.

> Unfortunately, Netscape Navigator 3.x and MSIE 3.x do not
> provide the java.util.zip package.

But about implementing zip handler in Java? If a speed of decompression would
be even 10 times slow than that of C it would make sence taking into acount not
very fast download time. At least a GIF image viewer written in Java that has to deal
with a zip compression looks not so bad compared to the direct awt support.

--
Regards, Igor Boukanov.
igor.b...@fi.uib.no
http://www.fi.uib.no/~boukanov/

0 new messages