[ https://issues.apache.org/jira/browse/COMPRESS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034289#comment-16034289 ]
Stefan Bodewig commented on COMPRESS-390: ----------------------------------------- [~sesuncedu] the changes to tar sound useful, although I'd be reluctant adding a dependency on XZ for Java for reading tars (right now XZ is optional unless you are really trying to use XZ or LZMA). That would be a separate issue, though. :-) > 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 > Labels: features, github-import, patch > 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)