软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleFileVisitor<T>
一个简单的访问者的文件,默认行为访问所有文件,并重新抛出I / O错误。
|
Modifier and Type | Method and Description |
---|---|
static Path |
Files.walkFileTree(Path start, FileVisitor<? super Path> visitor)
走一个文件树。
|
static Path |
Files.walkFileTree(Path start, Set<FileVisitOption> options, int maxDepth, FileVisitor<? super Path> visitor)
走一个文件树。
|
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.