Ejemplo n.º 1
0
  public Document HTMLGetCategory(String html, String url, AlchemyAPI_CategoryParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckHTML(html, url);

    params.setUrl(url);
    params.setHtml(html);

    return POST("HTMLGetCategory", "html", params);
  }
Ejemplo n.º 2
0
  public Document URLGetCategory(String url, AlchemyAPI_CategoryParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckURL(url);

    params.setUrl(url);

    return GET("URLGetCategory", "url", params);
  }