--- edoc-applet/Bundle.java 2003/06/25 11:50:09 1.2 +++ edoc-applet/Bundle.java 2003/07/21 10:14:15 1.3 @@ -44,6 +44,37 @@ public class Bundle buffr.close(); fw.close(); } + + public void exportToXMLDownload(File f,File startFile) throws Exception + { + String fileLink="";// to save original fileLink + FileWriter fw = new FileWriter(f); + BufferedWriter buffr = new BufferedWriter(fw); + buffr.write(""); + buffr.newLine(); + buffr.write("\n"); + // write Documents + for(int j=0;j"); + + buffr.close(); + fw.close(); + } static class Document { int docID=0; @@ -62,7 +93,7 @@ public class Bundle String fileLink=""; Hashtable metaTags = new Hashtable(); long modified = System.currentTimeMillis(); - + boolean downloadAgain = false; static int lastDocID=0; public Document() {