question: public static void deleteDirectory ( IProgressMonitor monitor , File directory , File base , int step ) throws IOException { if ( ! directory . exists ( ) ) { return ; } cleanDirectory ( monitor , directory , base , step ) ; if ( ! directory . delete ( ) ) { String message = "Unable to delete directory " + directory + "." ; throw new IOException ( message ) ; } }
target:  Recursively delete a directory.