commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Jack" <aj...@TrySybase.com>
Subject RE: [VFS] Additional Providers for Download
Date Thu, 15 May 2003 05:01:46 GMT
They seem interesting, I could certainly use the classloader one (although
I'd call it ClassLoaderProvider not ClassPathFileProvider).

BTW: Oughtn't you be setting capabilities? I.e. along the lines of:

    /**
     * Adds the capabilities of this file system.
     */
    protected void addCapabilities( final Collection caps )
    {
        caps.add( Capability.CREATE );
        caps.add( Capability.DELETE );
        caps.add( Capability.GET_TYPE );
        caps.add( Capability.LIST_CHILDREN );
        caps.add( Capability.READ_CONTENT );
        caps.add( Capability.SET_LAST_MODIFIED );
        caps.add( Capability.GET_LAST_MODIFIED );
        caps.add( Capability.URI );
        caps.add( Capability.WRITE_CONTENT );
    }

regards

Adam
-----Original Message-----
From: Anthony Eden [mailto:me@anthonyeden.com]
Sent: Saturday, May 10, 2003 2:04 PM
To: Jakarta Commons Users List
Subject: [VFS] Additional Providers for Download


I have created two additional VFS providers:

 - ServletContextFileProvider
 - ClassPathFileProvider

Their functionality is pretty much self-explainatory.  Anyone interested
can download them at:

http://www.anthonyeden.com/download/

Sincerely,
Anthony Eden


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message