FileVisitResult Enum

Package: java.nio.file

FileVisitResult is an enumeration that includes the following values:

check.png CONTINUE: Continue processing.

check.png SKIP_SIBLINGS: Continue without visiting any other directories or files at this level in the directory tree.

check.png SKIP_SUBTREE: Continue without visiting additional entries in this directory.

check.png TERMINATE: Terminates the file visitor.

FileVisitResult is used along with the FileVisitor interface and the SimpleFileVisitor class to provide return values that indicate whether the file visitor should continue processing. For more information, see FileVisitor Interface and SimpleFileVisitor Class.

Get Java For Dummies Quick Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.