public class AllNotificationBuilder extends SimpleFileVisitor<Path>
| Modifier and Type | Field and Description |
|---|---|
protected JobNotification |
jn |
protected Path |
path |
| Constructor and Description |
|---|
AllNotificationBuilder(JobNotification jn,
Path path,
String excludeFolders,
PrintStream logger) |
| Modifier and Type | Method and Description |
|---|---|
FileVisitResult |
preVisitDirectory(Path dir,
BasicFileAttributes attrs) |
void |
start() |
FileVisitResult |
visitFile(Path file,
BasicFileAttributes attrs) |
postVisitDirectory, visitFileFailedprotected JobNotification jn
protected Path path
public AllNotificationBuilder(JobNotification jn, Path path, String excludeFolders, PrintStream logger)
public void start()
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 © 2017–2021. All rights reserved.