You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Zbynek Vyskovsky (JIRA)" <ji...@apache.org> on 2017/04/26 03:10:04 UTC

[jira] [Created] (COMPRESS-390) Expose zip stream offset and size via API

Zbynek Vyskovsky created COMPRESS-390:
-----------------------------------------

             Summary: Expose zip stream offset and size via API
                 Key: COMPRESS-390
                 URL: https://issues.apache.org/jira/browse/COMPRESS-390
             Project: Commons Compress
          Issue Type: New Feature
          Components: Archivers
    Affects Versions: 1.13
            Reporter: Zbynek Vyskovsky
             Fix For: 1.14


In certain cases it may be useful to get information about where in the archive the stream starts and ends. Typically when zip is used as resource container and the resources are then mapped directly into memory, but not only.

The size and compressed size are already available but not the stream offset.

This can be applied to other archive types as well, therefore it would make sense to put this into basic interface - ArchiveEntry. But not necessarily all of them have to support it.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)