org.linkedin.util-core/src/main/java/org/linkedin/util/url/URLBuilder.java
public static URLBuilder createFromPath(String path)
  {
    URLBuilder res = new URLBuilder();
    res.setPath(path);
    return res;
  }
public static URLBuilder createFromPath(String path)
  {
    URLBuilder res = new URLBuilder();
    res.setPath(path);
    return res;
  }
Factory method from a path

@param path the path (will be url encoded!)
@return the builder