Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-489

Reading Central File Header and Archive extra data record, with out Skipping

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • Archivers

    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:

      Attachments

        Activity

          People

            Unassigned Unassigned
            anveshmora Anvesh Mora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: