I found the following example of establishing connection with external file system using http protocol in OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide book:
FileSystem fileSystem = FileSystems.getFileSystem(new URI("http://www.selikoff.net"));
Path path = fileSystem.getPath("duck.txt");
But when I'm running this example, I receive runtime exception:
Exception in thread "main" java.nio.file.ProviderNotFoundException: Provider "http" not found
Can anyone explain the reason of this exception?
How can I run this example, to connect with external file system properly using FileSystem class?
Any help highly appreciated.