Uses of Class
java.nio.file.FileSystem
Package | Description |
---|---|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
java.nio.file.spi |
Service-provider classes for the
java.nio.file package. |
-
Uses of FileSystem in java.nio.file
Methods in java.nio.file that return FileSystem Modifier and Type Method Description static FileSystem
FileSystems. getDefault()
Returns the defaultFileSystem
.static FileSystem
FileSystems. getFileSystem(URI uri)
Returns a reference to an existingFileSystem
.FileSystem
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
Methods in java.nio.file.spi that return FileSystem Modifier and Type Method Description abstract 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.FileSystem
FileSystemProvider. newFileSystem(Path path, Map<String,?> env)
Constructs a newFileSystem
to access the contents of a file as a file system.