On 2015-06-11, Gary Gregory wrote:

> On Wed, Jun 10, 2015 at 9:29 PM, Stefan Bodewig <bode...@apache.org> wrote:

>> External attributes are stored inside the central directory which is
>> at the end of the archive.  When using ZipArchiveInputStream the
>> central directory is only ever reached once all entries have been
>> read.

>> If you need to access the information from the central directory you
>> should use ZipFile rather than ZipArchiveInputStream.


> Is that in the Javadoc?

No, not explicitly.

<http://commons.apache.org/proper/commons-compress/zip.html#ZipArchiveInputStream_vs_ZipFile>
and the very first point in
<http://commons.apache.org/proper/commons-compress/limitations.html#ZIP>

I'll open a JIRA issue to track the lack of information in the javadocs.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to