Java java.nio.file FileSystems fields, constructors, methods, implement or subclass

Example usage for Java java.nio.file FileSystems fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.file FileSystems.

The text is from its open source code.

Method

FileSystemgetDefault()
Returns the default FileSystem .
FileSystemgetFileSystem(URI uri)
Returns a reference to an existing FileSystem .
FileSystemnewFileSystem(URI uri, Map env)
Constructs a new file system that is identified by a URI

This method iterates over the FileSystemProvider#installedProviders() installed providers to locate the provider that is identified by the URI URI#getScheme scheme of the given URI.

FileSystemnewFileSystem(Path path, ClassLoader loader)
Constructs a new FileSystem to access the contents of a file as a file system.
FileSystemnewFileSystem(Path path, Map env)
Constructs a new FileSystem to access the contents of a file as a file system.
FileSystemnewFileSystem(URI uri, Map env, ClassLoader loader)
Constructs a new file system that is identified by a URI

This method first attempts to locate an installed provider in exactly the same manner as the #newFileSystem(URI,Map) newFileSystem(URI,Map) method.

FileSystemnewFileSystem(Path path, Map env, ClassLoader loader)
Constructs a new FileSystem to access the contents of a file as a file system.