FileVisitResult
public
final
enum
FileVisitResult
extends Enum<FileVisitResult>
java.lang.Object | ||
↳ | java.lang.Enum<java.nio.file.FileVisitResult> | |
↳ | java.nio.file.FileVisitResult |
The result type of a FileVisitor
.
See also:
Summary
Enum values | |
---|---|
FileVisitResult |
CONTINUE
Continue. |
FileVisitResult |
SKIP_SIBLINGS
Continue without visiting the siblings of this file or directory. |
FileVisitResult |
SKIP_SUBTREE
Continue without visiting the entries in this directory. |
FileVisitResult |
TERMINATE
Terminate. |
Public methods | |
---|---|
static
FileVisitResult
|
valueOf(String name)
|
static
final
FileVisitResult[]
|
values()
|
Inherited methods | |
---|---|
Enum values
CONTINUE
public static final FileVisitResult CONTINUE
Continue. When returned from a preVisitDirectory
method then the entries in the directory should also
be visited.
SKIP_SIBLINGS
public static final FileVisitResult SKIP_SIBLINGS
Continue without visiting the siblings of this file or directory.
If returned from the preVisitDirectory
method then the entries in the directory are also
skipped and the postVisitDirectory
method is not invoked.
SKIP_SUBTREE
public static final FileVisitResult SKIP_SUBTREE
Continue without visiting the entries in this directory. This result
is only meaningful when returned from the preVisitDirectory
method; otherwise
this result type is the same as returning CONTINUE
.
Public methods
valueOf
public static FileVisitResult valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
FileVisitResult |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-12-15 UTC.