FileVisitResult

public final enum FileVisitResult extends Enum<FileVisitResult>

The result type of a FileVisitor.

Inherited Method Summary

Enum Values

public static final FileVisitResult CONTINUE

Continue. When returned from a preVisitDirectory method then the entries in the directory should also be visited.

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.

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 static final FileVisitResult TERMINATE

Terminate.