软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
java.nio.file.spi |
为
java.nio.file 包服务提供商类。
|
Modifier and Type | Interface and Description |
---|---|
interface |
SecureDirectoryStream<T>
一个
DirectoryStream 定义操作是相对开放的目录文件。
|
Modifier and Type | Method and Description |
---|---|
static DirectoryStream<Path> |
Files.newDirectoryStream(Path dir)
打开目录,返回一个
DirectoryStream 遍历目录中的所有条目。
|
static DirectoryStream<Path> |
Files.newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter)
打开目录,返回一个
DirectoryStream 遍历目录中的条目。
|
static DirectoryStream<Path> |
Files.newDirectoryStream(Path dir, String glob)
打开目录,返回一个
DirectoryStream 遍历目录中的条目。
|
Modifier and Type | Method and Description |
---|---|
abstract DirectoryStream<Path> |
FileSystemProvider.newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter)
打开目录,返回一个
DirectoryStream 遍历目录中的条目。
|
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.