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