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

Support in-memory processing for ZipFile

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13
    • Component/s: Archivers
    • Labels:
      None

      Description

      ZipFile (and SevenZFile) currently require a File argument, but it would be nice to support in-memory byte buffers rather than requiring temp files. Perhaps create a new SeekableInputStream class (or SeekableDataInput interface) and add corresponding constructors.

      For convenience, perhaps also add a utility class that wraps a ByteBuffer and/or byte[] and implements the new interface.

      (The sevenz package appears to have a similar limitation, so it might make sense to add the support there at the same time, but I personally don't have a need for that.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bjkail Brett Kail
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: