Description
- 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: