commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject [compress] Some merging in zip package
Date Sat, 07 Feb 2009 14:10:28 GMT

I've merged ZipEntry into ZipArchiveEntry and ZipOutputStream into
ZipArchiveOutputStream.  As a side effect ZipArchiveOutputStream now
supports encoding of file names and the zip file comment (among other
things that it does better than like
providing usable Unix permissions for directory entries).

ZipArchiveOutputStream will now use the platform's native encoding
instead of UTF8 by default now, while JarArchiveOutputStream
explicitly sets the encoding to UTF8.  Does anybody consider this a

Ant never had a ZipInputStream replacement, we only use ZipFile since
the zip format is a lot easier to implement on top of
RandomAccessFile.  I suggest we state somewhere in the docs (which
docs?) that you should use ZipFile if you intend to read a zip archive
with non-UTF8 encoding of filenames.

I'll look into merging the Tar streams as well next.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message