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

Stefan Bodewig commented on COMPRESS-489:
-----------------------------------------

Is there anything that you would need when using {{ZipFile}} that is not 
provided right now?

> Reading Central File Header and Archive extra data record, with out Skipping
> ----------------------------------------------------------------------------
>
>                 Key: COMPRESS-489
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-489
>             Project: Commons Compress
>          Issue Type: Improvement
>            Reporter: Anvesh Mora
>            Priority: Minor
>         Attachments: image-2019-06-10-17-02-33-972.png
>
>
> - Some Zip files store extra data in CFH and AED. Right now it seems that we 
> are skipping the meta data instead of making it available to consumer and 
> choose to use it or not.
>  - It might sound small change but right now this kind of flexibility is not 
> allowed with inheritance, due to lot of private and package access specifiers 
> ( NOT open for extension)
>  - If extension is not something we are looking, providing a method which 
> allows to store CFH and AED data based on a flag, should make it work.
>  
> I had similar requirement in my current development and I had to re-write the 
> component and use below code-snippet in 
> ZipArchieveInputStream#getNextZipEntry method:
> !image-2019-06-10-17-02-33-972.png!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to