public static void deleteRecursive(@NonNull File fileOrDirectory){
  deleteRecursive(fileOrDirectory,Collections.EMPTY_LIST);
}

public static void deleteRecursive ( @ NonNull File fileOrDirectory ) { deleteRecursive ( fileOrDirectory , Collections . EMPTY_LIST ) ; }
deletes a file or directory and all its content recursively .
