Uses of Enum Class
java.nio.file.FileVisitOption
Package
Description
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
-
Uses of FileVisitOption in java.nio.file
Modifier and TypeMethodDescriptionstatic FileVisitOption
Returns the enum constant of this class with the specified name.static FileVisitOption[]
FileVisitOption.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionFiles.find
(Path start, int maxDepth, BiPredicate<Path, BasicFileAttributes> matcher, FileVisitOption... options) Return aStream
that is lazily populated withPath
by searching for files in a file tree rooted at a given starting file.Files.walk
(Path start, int maxDepth, FileVisitOption... options) Return aStream
that is lazily populated withPath
by walking the file tree rooted at a given starting file.Files.walk
(Path start, FileVisitOption... options) Return aStream
that is lazily populated withPath
by walking the file tree rooted at a given starting file.Modifier and TypeMethodDescriptionstatic Path
Files.walkFileTree
(Path start, Set<FileVisitOption> options, int maxDepth, FileVisitor<? super Path> visitor) Walks a file tree.