commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ansell <>
Subject Re: [VFS] NIO Version Questions
Date Wed, 01 Jun 2016 23:02:04 GMT
On 2 June 2016 at 01:48, Mark Fortner <> wrote:
> There was some discussion during the last release about a NIO-compatible
> version of VFS.  This raised a few questions in my mind.
>    1. Is there a branch where this work should start?
>    2. Are there any specific API proposals, if so where are they (or will
>    they) be documented?  Would there be branches with specific proposal code,
>    or a wiki?
>    3. Does anyone have an "out of the gate" proposal? A proposed file
>    system implementation that they're willing to contribute/collaborate on?
>    Preferably something that's easy to test without additional server setup.
>    Perhaps a db-based file system that could use java db?
>    4. How would the code be organized? Would each implementation have to
>    have its own repo? If so, this might slow down initial API development.
>    And you always run into the danger that any API changes you make break
>    implementing code.
>    5. Has anyone considered support for virtual roots in file system URLs?
>    Like "home://", "documents://", "music://", etc.

Virtual roots are very simple in NIO2. They are implemented using
FileSystemProvider with a
META-INF/services/java.nio.file.spi.FileSystemProvider file for
autodiscovery by java.util.ServiceLoader.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message