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 D1CBA200B3B for ; Mon, 11 Jul 2016 21:14:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D067A160A78; Mon, 11 Jul 2016 19:14:21 +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 4ABC5160A5E for ; Mon, 11 Jul 2016 21:14:21 +0200 (CEST) Received: (qmail 20081 invoked by uid 500); 11 Jul 2016 19:14:20 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 20070 invoked by uid 99); 11 Jul 2016 19:14:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 19:14:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EF0BEDFFF8; Mon, 11 Jul 2016 19:14:19 +0000 (UTC) From: pjfanning To: dev@poi.apache.org Reply-To: dev@poi.apache.org Message-ID: Subject: [GitHub] poi pull request #34: Add strategy class for creating FakeZipEntry Content-Type: text/plain Date: Mon, 11 Jul 2016 19:14:19 +0000 (UTC) archived-at: Mon, 11 Jul 2016 19:14:22 -0000 GitHub user pjfanning opened a pull request: https://github.com/apache/poi/pull/34 Add strategy class for creating FakeZipEntry Relate to https://bz.apache.org/bugzilla/show_bug.cgi?id=59841 I would like to be able to override the FakeZipEntry behaviour. This code is based on the POI TempFile creation strategy. The suggested solution for 59841 is to read the xlsx from file but I need to decrypt it and don't want to store the unencrypted data on disk. I have access to temp file class that uses keeps small data loads in memory and larger ones are pushed to disk but encrypted. I can create a custom FakeZipEntry that uses this class under the hood. You can merge this pull request into a Git repository by running: $ git pull https://github.com/pjfanning/poi fake-zip-entry-strategy Alternatively you can review and apply these changes as the patch at: https://github.com/apache/poi/pull/34.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #34 ---- commit b3100ae0a42a08443fdda61e5cf8aa4899b94a45 Author: PJ Fanning Date: 2016-07-11T19:09:37Z Add strategy class for creating FakeZipEntry ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org