Guava had Files.deleteRecursively(File)
supported until Guava 9.
From Guava 10:
Deprecated. This method suffers from poor symlink detection and race conditions. This functionality can be supported suitably only by shelling out to an operating system command such as
rm -rf
ordel /s
. This method is scheduled to be removed from Guava in Guava release 11.0.
Therefore, there is no such method in Guava 11.