You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/03/17 19:24:00 UTC

[jira] [Commented] (COMPRESS-581) Make getLocalHeaderOffset() public

    [ https://issues.apache.org/jira/browse/COMPRESS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701961#comment-17701961 ] 

Gary D. Gregory commented on COMPRESS-581:
------------------------------------------

[~franckval] 

Did you find a different way to achieve your goal? I'm OK with making the API public BTW.

> Make getLocalHeaderOffset() public
> ----------------------------------
>
>                 Key: COMPRESS-581
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-581
>             Project: Commons Compress
>          Issue Type: Wish
>    Affects Versions: 1.20
>            Reporter: Franck Valentin
>            Priority: Minor
>
> Hi,
> I use this library to analyse zip files and get the entries and to do so I need to get the entries together with their offsets within the archive. I use ZipArchiveEntry but the issue is that getLocalHeaderOffset() is protected instead of being public.
> Looking at the source code I don't understand the reason behind it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)