Class DeletingFileVisitor
java.lang.Object
net.lenni0451.jartransformer.utils.DeletingFileVisitor
- All Implemented Interfaces:
FileVisitor<Path>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull FileVisitResultpostVisitDirectory(Path dir, @Nullable IOException exc) @NotNull FileVisitResultpreVisitDirectory(Path dir, @NotNull BasicFileAttributes attrs) @NotNull FileVisitResultvisitFile(Path file, @NotNull BasicFileAttributes attrs) @NotNull FileVisitResultvisitFileFailed(Path file, @NotNull IOException exc)
-
Constructor Details
-
DeletingFileVisitor
public DeletingFileVisitor()
-
-
Method Details
-
preVisitDirectory
@NotNull public @NotNull FileVisitResult preVisitDirectory(Path dir, @NotNull @NotNull BasicFileAttributes attrs) throws IOException - Specified by:
preVisitDirectoryin interfaceFileVisitor<Path>- Throws:
IOException
-
visitFile
@NotNull public @NotNull FileVisitResult visitFile(Path file, @NotNull @NotNull BasicFileAttributes attrs) throws IOException - Specified by:
visitFilein interfaceFileVisitor<Path>- Throws:
IOException
-
visitFileFailed
@NotNull public @NotNull FileVisitResult visitFileFailed(Path file, @NotNull @NotNull IOException exc) throws IOException - Specified by:
visitFileFailedin interfaceFileVisitor<Path>- Throws:
IOException
-
postVisitDirectory
@NotNull public @NotNull FileVisitResult postVisitDirectory(Path dir, @Nullable @Nullable IOException exc) throws IOException - Specified by:
postVisitDirectoryin interfaceFileVisitor<Path>- Throws:
IOException
-