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

Support in-memory processing for ZipFile

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.13
    • Archivers
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment