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, visitFileFailedpublic 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>IOExceptionpublic FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException
visitFile in interface FileVisitor<Path>visitFile in class SimpleFileVisitor<Path>IOExceptionCopyright © 1995-2016 Webtide. All Rights Reserved.