软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
java.nio.file.spi |
为
java.nio.file 包服务提供商类。
|
Modifier and Type | Method and Description |
---|---|
static FileSystem |
FileSystems.getDefault()
返回默认
FileSystem 。
|
FileSystem |
Path.getFileSystem()
返回创建此对象的文件系统。
|
static FileSystem |
FileSystems.getFileSystem(URI uri)
返回一个指向一个现有的
FileSystem 。
|
static FileSystem |
FileSystems.newFileSystem(Path path, ClassLoader loader)
构建访问一个文件的内容作为一个文件系统的一个新的
FileSystem 。
|
static FileSystem |
FileSystems.newFileSystem(URI uri, Map<String,?> env)
构建了一个新的文件系统,是由一个
URI 鉴定
|
static FileSystem |
FileSystems.newFileSystem(URI uri, Map<String,?> env, ClassLoader loader)
构建了一个新的文件系统,是由一个
URI 鉴定
|
Modifier and Type | Method and Description |
---|---|
abstract FileSystem |
FileSystemProvider.getFileSystem(URI uri)
返回一个现有的
FileSystem 该提供程序创建。
|
FileSystem |
FileSystemProvider.newFileSystem(Path path, Map<String,?> env)
构建访问一个文件的内容作为一个文件系统的一个新的
FileSystem 。
|
abstract FileSystem |
FileSystemProvider.newFileSystem(URI uri, Map<String,?> env)
构建了一种新的
FileSystem 对象由URI标识。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.