Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Uses of Class
java.nio.file.FileSystem

Packages that use 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 and Description
static FileSystem FileSystems.getDefault()
          Returns the default FileSystem.
abstract  FileSystem Path.getFileSystem()
          Returns the file system that created this object.
static FileSystem FileSystems.getFileSystem(URI uri)
          Returns a reference to an existing FileSystem.
static FileSystem FileSystems.newFileSystem(FileRef file, Map<String,?> env, ClassLoader loader)
          Constructs a new FileSystem to access the contents of a file as a file system.
static FileSystem FileSystems.newFileSystem(URI uri, Map<String,?> env)
          Constructs a new file system that is identified by a URI
static FileSystem FileSystems.newFileSystem(URI uri, Map<String,?> env, ClassLoader loader)
          Constructs a new file system that is identified by a URI
 

Uses of FileSystem in java.nio.file.spi
 

Methods in java.nio.file.spi that return FileSystem
Modifier and Type Method and Description
abstract  FileSystem FileSystemProvider.getFileSystem(URI uri)
          Returns an existing FileSystem created by this provider.
 FileSystem FileSystemProvider.newFileSystem(FileRef file, Map<String,?> env)
          Constructs a new FileSystem to access the contents of a file as a file system.
abstract  FileSystem FileSystemProvider.newFileSystem(URI uri, Map<String,?> env)
          Constructs a new FileSystem object identified by a URI.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.