code: public static String child(Resource base, String path) {
          Resource child = base.getChild(path);
          return child != null ? child.getPath() : path;
      }
docs: Returns the repository path of a child of a resource.
  
  @param base the parent resource object
  @param path the relative path to the child resource
  @return the absolute path of the child if found, otherwise the original path value