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 FileSystemFileSystems. getDefault()Returns the defaultFileSystem.static FileSystemFileSystems. getFileSystem(URI uri)Returns a reference to an existingFileSystem.FileSystemPath. getFileSystem()Returns the file system that created this object.static FileSystemFileSystems. newFileSystem(URI uri, Map<String,?> env)Constructs a new file system that is identified by aURIstatic FileSystemFileSystems. newFileSystem(URI uri, Map<String,?> env, ClassLoader loader)Constructs a new file system that is identified by aURIstatic FileSystemFileSystems. newFileSystem(Path path)Constructs a newFileSystemto access the contents of a file as a file system.static FileSystemFileSystems. newFileSystem(Path path, ClassLoader loader)Constructs a newFileSystemto access the contents of a file as a file system.static FileSystemFileSystems. newFileSystem(Path path, Map<String,?> env)Constructs a newFileSystemto access the contents of a file as a file system.static FileSystemFileSystems. newFileSystem(Path path, Map<String,?> env, ClassLoader loader)Constructs a newFileSystemto 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 FileSystemFileSystemProvider. getFileSystem(URI uri)Returns an existingFileSystemcreated by this provider.abstract FileSystemFileSystemProvider. newFileSystem(URI uri, Map<String,?> env)Constructs a newFileSystemobject identified by a URI.FileSystemFileSystemProvider. newFileSystem(Path path, Map<String,?> env)Constructs a newFileSystemto access the contents of a file as a file system.