public static class PathWatcher.DepthLimitedFileVisitor extends SimpleFileVisitor<Path>
Constructor and Description |
---|
DepthLimitedFileVisitor(PathWatcher watcher,
PathWatcher.Config base) |
Modifier and Type | Method and Description |
---|---|
FileVisitResult |
preVisitDirectory(Path dir,
BasicFileAttributes attrs) |
FileVisitResult |
visitFile(Path file,
BasicFileAttributes attrs) |
postVisitDirectory, visitFileFailed
public DepthLimitedFileVisitor(PathWatcher watcher, PathWatcher.Config base)
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException
preVisitDirectory
in interface FileVisitor<Path>
preVisitDirectory
in class SimpleFileVisitor<Path>
IOException
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException
visitFile
in interface FileVisitor<Path>
visitFile
in class SimpleFileVisitor<Path>
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.