Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 69384200BB4 for ; Tue, 1 Nov 2016 22:41:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 67C10160AF7; Tue, 1 Nov 2016 21:41:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D638E160ADA for ; Tue, 1 Nov 2016 22:40:59 +0100 (CET) Received: (qmail 93082 invoked by uid 500); 1 Nov 2016 21:40:59 -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 93070 invoked by uid 99); 1 Nov 2016 21:40:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 21:40:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E3E6C2C1F56 for ; Tue, 1 Nov 2016 21:40:58 +0000 (UTC) Date: Tue, 1 Nov 2016 21:40:58 +0000 (UTC) From: "Maciej Nowakowski (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 archived-at: Tue, 01 Nov 2016 21:41:00 -0000 [ https://issues.apache.org/jira/browse/COMPRESS-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maciej Nowakowski updated COMPRESS-327: --------------------------------------- Attachment: constructors_javadoc_in_memory_examples.patch > 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 > Fix For: 1.13 > > Attachments: 0001-Add-a-SeekableInputStream-and-some-subclasses-that-Z.patch, SeekableInMemoryByteChannel_tests.patch, constructors_javadoc_in_memory_examples.patch > > > 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)