Package io.karma.kommons.io
Class DeletingFileVisitor
java.lang.Object
io.karma.kommons.io.DeletingFileVisitor
- All Implemented Interfaces:
FileVisitor<Path>
@API(status=STABLE)
public final class DeletingFileVisitor
extends Object
implements FileVisitor<Path>
- Since:
- 15/09/2022
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionpostVisitDirectory
(Path dir, IOException exc) preVisitDirectory
(Path dir, BasicFileAttributes attrs) visitFile
(Path file, BasicFileAttributes attrs) visitFileFailed
(Path file, IOException exc)
-
Field Details
-
INSTANCE
-
-
Method Details
-
preVisitDirectory
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
-
visitFile
- Specified by:
visitFile
in interfaceFileVisitor<Path>
- Throws:
IOException
-
visitFileFailed
- Specified by:
visitFileFailed
in interfaceFileVisitor<Path>
-
postVisitDirectory
- Specified by:
postVisitDirectory
in interfaceFileVisitor<Path>
- Throws:
IOException
-