package rc;
import tool.*;
public class pro {
String u;
String[] data=new String[5000];
int s,datanumber;
public static void main(String[] args) {
pro tes=new pro();
}
pro(){
int p;
for(p=1;p<15;p++){
u="http://www.coara.or.jp/~cheerkey/shiho/shiho"+p+".html";
getdata sub=new getdata();
sub.makedata(u,"SJIS");
data=sub.data;
datanumber=sub.datanumber;
int tr;
for(tr=1;tr<10;tr++){
for(s=1;s<datanumber+1;s++){
int p1=data[s].indexOf("<");
int p2=data[s].indexOf(">");
String str;
str="";
if(p1>-1)str=data[s].substring(p1,p2+1);
data[s]=data[s].replace(str,"");
}}
writefile sub3=new writefile();
sub3.data=data;
sub3.datanumber=datanumber;
sub3.makedata(p+".txt");
}
}
}
最終更新:2015年04月28日 18:19