commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [VFS] Getting package entry compressed size
Date Wed, 17 May 2006 13:08:44 GMT
> Could it be possible to add method for receiving also compressed size of
> file inside a package (zip, tgz etc)?
No, I dont think so. As far as I know the zip library do not provide
such an information and in case of tar.gz the situations is even more

tar is an archive only (no compression)
this archive will be compressed using gzip
So the files inside an tar archive even dont know that they are
compressed and so they didnt know its compressed file size.
In case of .tar.gz the whole tar is compressed at once - not at file level.


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

View raw message