Uses of Enum Class
java.nio.file.FileVisitResult
Package
Description
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
-
Uses of FileVisitResult in java.nio.file
Modifier and TypeMethodDescriptionFileVisitor.postVisitDirectory(T dir, IOException exc)
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.SimpleFileVisitor.postVisitDirectory(T dir, IOException exc)
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.FileVisitor.preVisitDirectory(T dir, BasicFileAttributes attrs)
Invoked for a directory before entries in the directory are visited.SimpleFileVisitor.preVisitDirectory(T dir, BasicFileAttributes attrs)
Invoked for a directory before entries in the directory are visited.static FileVisitResult
Returns the enum constant of this class with the specified name.static FileVisitResult[]
FileVisitResult.values()
Returns an array containing the constants of this enum class, in the order they are declared.FileVisitor.visitFile(T file, BasicFileAttributes attrs)
Invoked for a file in a directory.SimpleFileVisitor.visitFile(T file, BasicFileAttributes attrs)
Invoked for a file in a directory.FileVisitor.visitFileFailed(T file, IOException exc)
Invoked for a file that could not be visited.SimpleFileVisitor.visitFileFailed(T file, IOException exc)
Invoked for a file that could not be visited.