アットウィキロゴ

ヴぉfっでら

package riga;
 
import java.io.*;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
 
 
public class pro {
 
     int datanumber;
   String[] data=new String[5000];
 
    public static void main(String[] args) {
        pro te=new pro();
    }
    pro(){
 
        readx("data.csv");
 
 
 
       int s;
 String w1="あげまん"; 
 
 for(s=2;s<datanumber+1;s++){
 String[] x=data[s].split(",");
w1=x[1];     
 
     bing sub5=new bing();
 String c1=sub5.makedata(w1);
 
 check sub6=new check();
 String n1=sub6.makedata(c1);
 
 System.out.println(x[0]+","+w1+","+c1+","+n1+","+x[2]);
 }
 
 
 
 
 
    }
    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年08月25日 19:11