FileVisitResult
class FileVisitResult
kotlin.Any | ||
↳ | kotlin.Enum<java.nio.file.FileVisitResult> | |
↳ | java.nio.file.FileVisitResult |
The result type of a FileVisitor
.
Summary
Enum values | |
---|---|
Continue. |
|
Continue without visiting the siblings of this file or directory. |
|
Continue without visiting the entries in this directory. |
|
Terminate. |
Enum values
CONTINUE
enum val CONTINUE : FileVisitResult
Continue. When returned from a preVisitDirectory
method then the entries in the directory should also be visited.
SKIP_SIBLINGS
enum val SKIP_SIBLINGS : FileVisitResult
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
enum val SKIP_SUBTREE : FileVisitResult
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
.