RFR 8218875: Add new FileSystems.newFileSystem methods
Alan.Bateman at oracle.com
Wed Feb 20 10:53:14 UTC 2019
On 20/02/2019 10:23, Langer, Christoph wrote:
> It’s really too bad that there is this method with signature
> newFileSystem(Path path, ClassLoader loader) when it rather should
> have been newFileSystem(Path path, Map<String,?> env, ClassLoader
> loader) to mirror the API using the URI.
Just on this point, the 2-arg method is useful to open a file as a file
system without knowing anything about its format. To use the 3-arg
version with anything other than an empty Map means having configuration
about the file system. There is room for both usages.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev