code: static String[] getPathNames(String path) {
      if (path == null || !path.startsWith(Path.SEPARATOR)) {
        return null;
      }
      return StringUtils.split(path, Path.SEPARATOR_CHAR);
    }
docs: Breaks file path into names.
  @param path
  @return array of names