public void WriteHeader(){ out.println("\t\t"+Parser.StartingTag("ValidichroHeader")); out.println("\t\t\t"+Parser.Tag("Date",experiment_date)); out.println("\t\t\t"+Parser.Tag("Generic",generic)); //... out.println("\t\t"+Parser.EndingTag("ValidichroHeader")); }
public void WriteExported(){ out.println(Parser.getFileHeader()); out.println("\t"+Parser.StartingTag("ValidichroData")); WriteHeader(); WriteBody(); WriteUnparsed(); out.println("\t"+Parser.EndingTag("ValidichroData")); }
public void WriteBody(){ //@ToDo : Make this proper java! //@ToDo Important: Add missing elements and check existing ones // - Update:, now refers to values as Unknown1,Uknown2... It's just unknown to me, can't remember what these values represent! out.println("\t\t"+Parser.StartingTag("ValidichroBody")); for(String line :spectral_table){ out.println("\t\t\t"+Parser.Tag("SpectralEntry",line)); } out.println("\t\t"+Parser.EndingTag("ValidichroBody")); }