Hi *,
java basically supports the compressing zip file format (jar files are
just zipped ones with "META-INF")
Do you know of any way to handle, say, gzipped, stuffit and/or RAR
within java without going native?
Well, I am just asking.
lbrtchx
Roedy Green - 20 Oct 2005 01:20 GMT
> Do you know of any way to handle, say, gzipped, stuffit and/or RAR
>within java without going native?
there is aGZipInputStream class. That hints it might handle gzip
files.
see http://mindprod.com/jgloss/zip.html
For other options see that same link. I think pretty well all the
compression libraries are written for C++. You will need to write some
JNI glue.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Stefan Schulz - 20 Oct 2005 12:45 GMT
> For other options see that same link. I think pretty well all the
> compression libraries are written for C++. You will need to write some
> JNI glue.
If you feel real charitable, you might implement the compression
algorithms in pure java.
If you feel lazy, you might ask the search engine of your choice of
someone already did that.

Signature
You can't run away forever,
But there's nothing wrong with getting a good head start.
--- Jim Steinman, "Rock and Roll Dreams Come Through"
Thomas Fritsch - 20 Oct 2005 01:26 GMT
> java basically supports the compressing zip file format (jar files are
> just zipped ones with "META-INF")
>
> Do you know of any way to handle, say, gzipped, stuffit and/or RAR
> within java without going native?
Yes, look at
http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/package-summary.html

Signature
"TFritsch$t-online:de".replace(':','.').replace('$','@')