| Modifier and Type | Field and Description |
|---|---|
| private final Path | |
| private final BiConsumer | |
| private final Predicate | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FileVisitResult | postVisitDirectory(Path dir, @Nullable IOException ex)
Overrides java. Implements java. Invoked for a directory after entries in the directory, and all of their descendants, have been visited. |
| public FileVisitResult | visitFile(Path file, BasicFileAttributes attributes)
Overrides java. Implements java. Invoked for a file in a directory. |
| public FileVisitResult | visitFileFailed(Path file, IOException ex)
Overrides java. Implements java. Invoked for a file that could not be visited. |
| basePath | back to summary |
|---|---|
| private final Path basePath | |
| consumer | back to summary |
|---|---|
| private final BiConsumer<Path, Path> consumer | |
| filter | back to summary |
|---|---|
| private final Predicate<Path> filter | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| ClasspathFileVisitor | back to summary |
|---|---|
| pack-priv ClasspathFileVisitor(Path basePath, Predicate<Path> filter, BiConsumer<Path, Path> consumer) | |
| postVisitDirectory | back to summary |
|---|---|
| public FileVisitResult postVisitDirectory(Path dir, @Nullable IOException ex) Overrides java. Implements java. Doc from java. Invoked for a directory after entries in the directory, and all of their descendants, have been visited. Unless overridden, this method returns
| |
| visitFile | back to summary |
|---|---|
| public FileVisitResult visitFile(Path file, BasicFileAttributes attributes) Overrides java. Implements java. Doc from java. Invoked for a file in a directory. Unless overridden, this method returns
| |
| visitFileFailed | back to summary |
|---|---|
| public FileVisitResult visitFileFailed(Path file, IOException ex) Overrides java. Implements java. Doc from java. Invoked for a file that could not be visited. Unless overridden, this method re-throws the I/O exception that prevented the file from being visited.
| |