Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CBE3173CC for ; Tue, 17 Nov 2015 08:49:11 +0000 (UTC) Received: (qmail 61652 invoked by uid 500); 17 Nov 2015 08:49:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 61566 invoked by uid 500); 17 Nov 2015 08:49:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 61549 invoked by uid 99); 17 Nov 2015 08:49:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2015 08:49:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E81BD2C1F5E for ; Tue, 17 Nov 2015 08:49:10 +0000 (UTC) Date: Tue, 17 Nov 2015 08:49:10 +0000 (UTC) From: "Damjan Jovanovic (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COMPRESS-327) Support in-memory processing for ZipFile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COMPRESS-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008293#comment-15008293 ] Damjan Jovanovic commented on COMPRESS-327: ------------------------------------------- It was a 30 September 2015 email entitled "[COMPRESS] generalize RandomAccessFile in ZipFile and SevenZFile", link here: http://www.mail-archive.com/dev@commons.apache.org/msg49795.html I found the names of methods in 2.x were unintuitive, and how it's supposed to be used is confusing. Is there any design notes or documentation? > Support in-memory processing for ZipFile > ---------------------------------------- > > Key: COMPRESS-327 > URL: https://issues.apache.org/jira/browse/COMPRESS-327 > Project: Commons Compress > Issue Type: New Feature > Reporter: Brett Kail > Priority: Minor > Attachments: seekable-input-stream.txt > > > 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.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)