コード例 #1
0
ファイル: AlchemyAPI.java プロジェクト: JiayunLi/be223a
  public Document HTMLGetRankedKeywords(String html, String url, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckHTML(html, url);

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

    return POST("HTMLGetRankedKeywords", "html", params);
  }
コード例 #2
0
ファイル: AlchemyAPI.java プロジェクト: JiayunLi/be223a
  public Document TextGetRankedKeywords(String text, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckText(text);

    params.setText(text);

    return POST("TextGetRankedKeywords", "text", params);
  }
コード例 #3
0
ファイル: AlchemyAPI.java プロジェクト: JiayunLi/be223a
  public Document URLGetRankedKeywords(String url, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckURL(url);

    params.setUrl(url);

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