FileVisitResult Enum
Package: java.nio.file
FileVisitResult
is an enumeration that includes the following values:
CONTINUE:
Continue processing.
SKIP_SIBLINGS:
Continue without visiting any other directories or files at this level in the directory tree.
SKIP_SUBTREE:
Continue without visiting additional entries in this directory.
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.