3 public class generate {
4 public static void main(String x[]) {
8 while(current<currentref) {
10 String filename=current+".html";
11 FileOutputStream fos=new FileOutputStream(filename);
12 PrintStream ps=new PrintStream(fos);
14 while(currentref<MAX) {
17 String reffile=currentref+".html";
18 ps.println("<a href=\""+reffile+"\">"+reffile+"</a>");
23 } catch (Exception e) {e.printStackTrace();}