Well, java.util.zip.GZIPOutputStream / GZIPInputStream can take care of the GZIP compression, leaving you with finding some way of getting it into a TAR stream.

OTOH, the libraries for ZIP, such as java.util.zip.ZipFile are intended for arbitrary selection of which file within the archive to decompress... you could alternately use java.util.zip.ZipInputStream to decompress files as they appear in the archive, hence (theoretically) allowing for streaming compression.

Hope this helps!

-Frank

At 05:31 PM 1/17/2005, you wrote:
Care to recommend libraries/API for generating GZIP archives?

My group's build/install group creates multi-GB archives that we poor
coders hafta download, twiddle, and install. Unfortunately they
currently generate only .zip, which means one must download the whole
damn thing before one can start to decompress and use it: it can't be
piped the way tar/gzip'ed archives can. One objection they have raised
is that they don't know of code that will generate .gz: I'd like to
overcome that objection.


_______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org



_______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to