Java Recursively Delete a Directory
Jump to navigation
Jump to search
External
Internal
Overview
Files.walk(configFrameworkRoot.toPath())
.sorted(Comparator.reverseOrder())
.map(Path::toFile)
.forEach(File::delete);