アットウィキロゴ

やほおAPI

import java.net.URLEncoder;

class yahoo{

String bun;

String makedata(String word){

String str,urlx;

bun="";
urlx="";

try{

str = URLEncoder.encode(word,"utf-8");

urlx="http://jlp.yahooapis.jp/MAService/V1/parse?appid=WoXaNHexg668pKcMtkTiHW1IEwmWXxh55u41_G.ivEbV70qjf2UqLvdMYd4S7A--&results=ma,uniq&uniq_filter=9|10&sentence=";
urlx=urlx+str;

}catch(Exception e) { System.err.println(e); }  

getdata gt=new getdata();
gt.makedata(urlx);
bun=gt.bun;

return bun;
}


}
最終更新:2011年04月11日 10:49