アットウィキロゴ

trn

package mai;
 
import java.io.File;
 
 
public class pro {
 
    String[] dic=new String[500];
  String[] delta=new String[500];
    String[] size=new String[500];
 
      String[] code=new String[500];
  String[] code_size=new String[500];
    String[] code_work=new String[500];
 
    public static void main(String[] args) {
       pro tes=new pro();
    }
 
 
    pro(){
 
        File f=new File("data");
    String[] fx=f.list();
 
    int s;
 
    dic[1]="常用雇用";
    dic[2]="現金給与総額";
    dic[3]="きまって支給する";
    dic[4]="所定内給与";
    dic[5]="総実労働時間";
    dic[6]="所定内労働時間";
    dic[7]="所定外労働時間";
 
    delta[1]="就業形態計";
    delta[2]="一般労働者";
    delta[3]="パートタイム労働者";
 
    size[1]="5人以上";
    size[2]="30人以上";
 
 
 
    for(s=0;s<fx.length;s++){
 
    String st=fx[s];
    if(st.indexOf("季節")>-1)st="";
    if(st.indexOf("実質賃金")>-1)st="";
    if(st.indexOf(dic[1])>-1)code[s]="lab";
     if(st.indexOf(dic[2])>-1)code[s]="wage";
     if(st.indexOf(dic[3])>-1)code[s]="wage_rule";
     if(st.indexOf(dic[4])>-1)code[s]="wage_in";
     if(st.indexOf(dic[5])>-1)code[s]="time";
     if(st.indexOf(dic[6])>-1)code[s]="time_in";
     if(st.indexOf(dic[7])>-1)code[s]="time_out";
 
     if(st.indexOf(delta[1])>-1)code_work[s]="work";
     if(st.indexOf(delta[2])>-1)code_work[s]="work_normal";
     if(st.indexOf(delta[3])>-1)code_work[s]="wage_part";
 
     if(st.indexOf(size[1])>-1)code_size[s]="n5";
     if(st.indexOf(size[2])>-1)code_size[s]="n30";
      System.out.println(st+","+code_work[s]);
 
    }
 
 
 
 
 
 
 
 
 
 
 
    }
 
 
 
 
 
 
}
 
最終更新:2015年07月19日 02:16