アットウィキロゴ

fty@:[

package t2;
 
import tool.getdata;
 
 
public class pro {
 
   int s,datanumber;
    String[] data=new String[5000];
 
    String[] v=new String[500];
    String[] code=new String[5000];
    int number;
    int[] point=new int[600];
 
 
    public static void main(String[] args) {
        pro test=new pro();
    }
    pro(){
 
        String codex="c1";
 
         String wh="%20";
 
        String id="1A5QolQncypfPERmNon9fp_ZtJ_ro5lhyi4yZHtaU";
 
       String urlx="https://www.googleapis.com/fusiontables/v1/query?sql=SELECT";
       urlx=urlx+wh+"*"+wh+"FROM"+wh+id+wh+"where"+wh+"name='"+codex+"'";
       urlx=urlx+"&key=AIzaSyAH0WCAXRIdHdbI-6bnMSN4kVDDZZmGyqY";
 
 
        getdata sub=new getdata();
        sub.makedata(urlx,"UTF-8");
        data=sub.data;
         datanumber=sub.datanumber;
 
 
         String str="";
    for(s=1;s<datanumber+1;s++){
     str=str+data[s];
 
    }
 
 
    String[] x=str.split("]");
 
    for(s=1;s<x.length;s++){
    String[] y=x[s].split(",");
 
   for(s=1;s<y.length;s++){
 
              System.out.println(y[s]);
 
   }
          }
 
 
 
 
 
 
 
    }
 
 
 
 
}
 
最終更新:2015年10月20日 08:47