A DESCRIPTION OF THE REQUEST : According to http://code.google.com/p/guava-libraries/issues/detail?id=365 it is impossible to safely delete a path recursively using Java due to race conditions. As such, I am proposing the following API be added: Files.delete(Path, DeleteOption...) where StandardDeleteOption.RECURSIVELY specifies that children paths should be deleted as well. JUSTIFICATION : This is a commonly-requested feature that is difficult to implement in a cross-platform and secure manner. As such, it should be provided by the core API.
|