软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
java.nio.file.spi |
为
java.nio.file 包服务提供商类。
|
Modifier and Type | Method and Description |
---|---|
static FileStore |
Files.getFileStore(Path path)
返回
FileStore 代表文件存储在一个文件的位置。
|
Modifier and Type | Method and Description |
---|---|
abstract Iterable<FileStore> |
FileSystem.getFileStores()
返回一个对象来遍历文件存储。
|
Modifier and Type | Method and Description |
---|---|
abstract FileStore |
FileSystemProvider.getFileStore(Path path)
返回
FileStore 代表文件存储在一个文件的位置。
|
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.