AW: AW: Dynamic loading of FileSystemProvider instances
Alan Bateman
Alan.Bateman at oracle.com
Tue Jun 7 04:19:22 PDT 2011
Christian Schlichtherle wrote:
> :
> First, I need to differentiate between Path URIs (those returned by
> Path.toUri()) and FsPath URIs (a class in the TrueZIP Kernel).
>
> This seems to be required because Path URIs need to be hierarchical and each
> FileSystemProvider can use only one scheme which is determined at compile
> time. An example URI could be "tzp:/archive.zip".
>
Just on the hierarchal vs. opaque issue - this was the spec bug that
came up in the other thread. We've just fixed it for b145. The fix just
changes the wording to make it clear that the returned URI is absolute
(meaning it has a scheme). It's only the default provider where the URIs
are required to be hierarchal. Hopefully this makes things easier for
you to plug in some of your existing URIs (under covers anyway, I don't
think these should be exposed to users of the API).
-Alan.
More information about the nio-discuss
mailing list