アットウィキロゴ

renx6

package cdtv;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
 
import tool.*;
 
public class pro {
 
 String[] data=new String[6000];
    int s,datanumber;
    String[] name=new String[6000];
      String[] code=new String[6000];
      String[] code_name=new String[6000];
 
    public static void main(String[] args) {
        pro te=new pro();
    }
 
    pro(){
 
        String urlx="http://www29.atwiki.jp/cdtv/pages/14.html";
 
      gerssl sub7=new gerssl();
        sub7.makedata(urlx,"a.txt"); 
 
        String ss="aria-label=\"検索結果";
 
        String str="";
 
        for(s=1;s<datanumber+1;s++){
 
        if(data[s].indexOf(ss)>-1)str=data[s];
 
        } 
 
 
 
 
 
    }
 
    void readx(String file){
 
String str;
BufferedReader br;  
int s;
s=0;
try {
br = new BufferedReader(new InputStreamReader(new FileInputStream(file),"UTF-8"));  
while((str = br.readLine()) != null) {  
s=s+1;
data[s]=str;  
}
br.close();
} catch (IOException e) {System.out.println(e);}  
 
datanumber=s;
 
} 
 
 
}
最終更新:2016年09月09日 01:12