[ 
https://issues.apache.org/jira/browse/COMPRESS-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Bodewig resolved COMPRESS-489.
-------------------------------------
    Resolution: Incomplete

> 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
>          Components: Archivers
>            Reporter: Anvesh Mora
>            Priority: Minor
>              Labels: zip
>         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
(v8.3.2#803003)

Reply via email to