アットウィキロゴ

めいぼ999

package mei;
 
import tool.*;
 
public class pro {
 
    int s,datanumber;
  String[] data=new String[50];
     String[] pos=new String[50];
   String[] name=new String[50];
     String[][] point=new String[50][20];
 
    public static void main(String[] args) {
        pro t=new pro();
    }
    pro(){
 
        int tr=1;
 
        for(tr=1;tr<13;tr++){
 
     readfile sub7=new readfile();
        sub7.makedata("data/"+tr+".html","UTF-8");
        data=sub7.data;
        datanumber=sub7.datanumber; 
 
        String str="";
        for(s=1;s<datanumber+1;s++){
         str=str+data[s];   
        }
 
        String[] x=str.split("</tr>");
        int sx;
 
 
        int n=0;
        for(s=3;s<x.length-1;s++){
        String[] y=x[s].split("</td>");;
         for(sx=0;sx<y.length;sx++){ 
        y[sx]=y[sx].replace("<td>", "");
         y[sx]=y[sx].replace("</a>", "");
        y[sx]=y[sx].replace("<tr class=\"tr_ffffff\">", ""); 
        }
         String sp=y[0];
        for(sx=1;sx<y.length;sx++){
        sp=sp+","+y[sx];    
        }
        n=n+1;
        data[n]=sp;
        }
 
 
 
        datanumber=n;
 
 
        writefile sub5=new writefile();
        sub5.data=data;
        sub5.datanumber=datanumber;
        sub5.makedata("gdata/"+tr+".txt");
 
        }
 
 
 
 
 
    }
 
 
 
}
 
最終更新:2016年06月22日 16:25