Uses of Class
java.nio.file.FileSystem
Package
Description
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Service-provider classes for the
java.nio.file
package.-
Uses of FileSystem in java.nio.file
Modifier and TypeMethodDescriptionstatic FileSystem
FileSystems.getDefault()
Returns the defaultFileSystem
.static FileSystem
FileSystems.getFileSystem(URI uri)
Returns a reference to an existingFileSystem
.Path.getFileSystem()
Returns the file system that created this object.static FileSystem
FileSystems.newFileSystem(URI uri, Map<String,?> env)
Constructs a new file system that is identified by aURI
static FileSystem
FileSystems.newFileSystem(URI uri, Map<String,?> env, ClassLoader loader)
Constructs a new file system that is identified by aURI
static FileSystem
FileSystems.newFileSystem(Path path)
Constructs a newFileSystem
to access the contents of a file as a file system.static FileSystem
FileSystems.newFileSystem(Path path, ClassLoader loader)
Constructs a newFileSystem
to access the contents of a file as a file system.static FileSystem
FileSystems.newFileSystem(Path path, Map<String,?> env)
Constructs a newFileSystem
to access the contents of a file as a file system.static FileSystem
FileSystems.newFileSystem(Path path, Map<String,?> env, ClassLoader loader)
Constructs a newFileSystem
to access the contents of a file as a file system. -
Uses of FileSystem in java.nio.file.spi
Modifier and TypeMethodDescriptionabstract FileSystem
FileSystemProvider.getFileSystem(URI uri)
Returns an existingFileSystem
created by this provider.abstract FileSystem
FileSystemProvider.newFileSystem(URI uri, Map<String,?> env)
Constructs a newFileSystem
object identified by a URI.FileSystemProvider.newFileSystem(Path path, Map<String,?> env)
Constructs a newFileSystem
to access the contents of a file as a file system.