[ https://issues.apache.org/jira/browse/COMPRESS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034768#comment-16034768 ]
Simon Spero commented on COMPRESS-390: -------------------------------------- [~bodewig] - the XZ dependency was just the easiest hack. Annoyingly, it's an abstract class, not an interface. SeekableChannels are probably where the actual answers lie :) > 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)