commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vince Bonfanti (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-275) add RandomAccessContent.setLength() method
Date Thu, 13 Aug 2009 21:13:14 GMT

     [ 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.


Mime
View raw message