checkWrite(); if (isDirectory ()) return false; return mkdirs (new File (path));
if (x.isDirectory()) return true; String p = x.getPath(); String parent = x.getParent(); if (parent != null) { x.path = parent; if (! mkdirs (x)) return false; x.path = p; } return x.mkdir();
  public boolean mkdirs ()  {    checkWrite();    if (isDirectory ())      return false;    return mkdirs (new File (path));  }