Class DirectoryTreeDeleter
- All Implemented Interfaces:
FileVisitor<Path>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpostVisitDirectory
(Path dir, IOException e) visitFile
(Path file, BasicFileAttributes attrs) Methods inherited from class java.nio.file.SimpleFileVisitor
preVisitDirectory, visitFileFailed
-
Constructor Details
-
DirectoryTreeDeleter
public DirectoryTreeDeleter()
-
-
Method Details
-
postVisitDirectory
- Specified by:
postVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
postVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-
visitFile
- Specified by:
visitFile
in interfaceFileVisitor<Path>
- Overrides:
visitFile
in classSimpleFileVisitor<Path>
- Throws:
IOException
-