code: public static boolean delete( String path ) {
          if (path == null || path.trim().length() == 0) return false;
          return delete(new File(path));
      }
docs: Delete the file or directory at the supplied path. This method works on a directory that is not empty, unlike the
  {@link File#delete()} method.
  
  @param path the path to the file or directory that is to be deleted
  @return true if the file or directory at the supplied path existed and was successfully deleted, or false otherwise