code: public static String nativeDirectorySeparator(final String path) {
      if (path == null)
        return StringUtil.empty;
      return path.replace("/", directorySeparator).replace("\\", directorySeparator);
    }
docs: <editor-fold defaultstate="collapsed" desc="Public Static Methods">