Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 17345 invoked from network); 13 Aug 2009 21:13:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 21:13:39 -0000 Received: (qmail 21720 invoked by uid 500); 13 Aug 2009 21:13:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 21625 invoked by uid 500); 13 Aug 2009 21:13:45 -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 21615 invoked by uid 99); 13 Aug 2009 21:13:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 21:13:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 21:13:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CAA75234C004 for ; Thu, 13 Aug 2009 14:13:14 -0700 (PDT) Message-ID: <1877875068.1250197994814.JavaMail.jira@brutus> Date: Thu, 13 Aug 2009 14:13:14 -0700 (PDT) From: "Vince Bonfanti (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (VFS-275) add RandomAccessContent.setLength() method In-Reply-To: <916162131.1250197874906.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/VFS-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vince Bonfanti updated VFS-275: ------------------------------- Attachment: VFS-randomaccesscontent-setlength.patch Attached is the patch that resolves this issue. > add RandomAccessContent.setLength() method > ------------------------------------------ > > Key: VFS-275 > URL: https://issues.apache.org/jira/browse/VFS-275 > Project: Commons VFS > Issue Type: Improvement > Affects Versions: 2.0 > Environment: Google App Engine > Reporter: Vince Bonfanti > Fix For: 2.0 > > Attachments: VFS-randomaccesscontent-setlength.patch > > > I'm developing a Commons VFS plug-in for Google App Engine (http://code.google.com/p/gaevfs/), and also using this as a basis for a pluggable file system for the H2 relational database (http://www.h2database.com/html/main.html) that will allow H2 to run on Google App Engine. In order to support H2, I need to support a setLength() method for my RandomAccessContent implementation. Note that setLength() is supported by java.io.RandomAccessFile (http://java.sun.com/javase/6/docs/api/index.html), so adding this method will bring RandomAccessContent a little closer to RandomAccessFile. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.