code: public static Document parse(String html, String baseUri) {
          TreeBuilder treeBuilder = new HtmlTreeBuilder();
          return treeBuilder.parse(new StringReader(html), baseUri, new Parser(treeBuilder));
      }
docs: Parse HTML into a Document.
  
  @param html HTML to parse
  @param baseUri base URI of document (i.e. original fetch location), for resolving relative URLs.
  
  @return parsed Document