Apache Commons IO is a java library with simple IO utilities and filters.
This requires the library commons-io-2.1.jar to be in classpath.
The following example shows using FileUtils.forceDelete() API.
It deletes the given file or directory recursively. Throws IOException if the
file or directory cannot be deleted.