public static void deleteFiles ( final File file ) throws IOException { final File [ ] ff = file . listFiles ( ) ; if ( ff != null ) { for ( final File f : ff ) { DeleteFileExtensions . delete ( f ) ; } } }
Tries to delete all files in the Directory .