アットウィキロゴ

う0

package bun;
 
import tool.*;
 
public class pro {
 
    int s,datanumber;
    String[] data=new String[50000];
     String[] sdata=new String[50000];
 
    public static void main(String[] args) {
        pro te=new pro();
    }
 
    pro(){
 
 
        readfile sub2=new readfile();
        sub2.makedata("900.txt","SJIS");
        data=sub2.data;
        datanumber=sub2.datanumber;
 
        String[] x=new String[60];
 
 
        x[1]="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
        x[2]="<!DOCTYPE html>";
x[3]="<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:epub=\"http://www.idpf.org/2007/ops\" xml:lang=\"ja\" class=\"hltr\">";
x[4]="<head><meta charset=\"UTF-8\"/>"; 
 x[5]="<title>蜘蛛の糸</title>";
 x[6]="<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/book-style.css\"/>";
 x[8]="</head><body class=\"p-text\"><div class=\"main\">";
 
 
 
 
 
 
 
 
        for(s=1;s<9;s++){
        sdata[s]=x[s];    
        }
 
 
        int sx=8;
        for(s=1;s<datanumber+1;s++){
         sx=sx+1;
            sdata[sx]="<p>"+data[s]+"</p>";
 
        }
        datanumber=sx+1;
        sdata[datanumber]="</div></body></html>";
 
 
        writefile sub5=new writefile();
        sub5.data=sdata;
        sub5.datanumber=datanumber;
        sub5.makedata("ren.xhtml");
 
 
 
    }
 
 
}
 
最終更新:2016年03月23日 11:18