|
From: David F. <dwf...@us...> - 2006-10-02 16:51:07
|
Update of /cvsroot/openmed/OpenEMed/src/clients/gov/lanl/translate In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22240/src/clients/gov/lanl/translate Modified Files: LoadCoas.java Log Message: Added debug statement Index: LoadCoas.java =================================================================== RCS file: /cvsroot/openmed/OpenEMed/src/clients/gov/lanl/translate/LoadCoas.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LoadCoas.java 28 Mar 2006 01:31:03 -0000 1.3 --- LoadCoas.java 2 Oct 2006 16:48:19 -0000 1.4 *************** *** 21,25 **** //import org.xml.sax.InputSource; import nu.xom.*; ! import org.apache.xml.serialize.OutputFormat; //import org.apache.xml.serialize.XMLSerializer; import gov.lanl.Web.COAS; --- 21,25 ---- //import org.xml.sax.InputSource; import nu.xom.*; ! //import org.apache.xml.serialize.OutputFormat; //import org.apache.xml.serialize.XMLSerializer; import gov.lanl.Web.COAS; *************** *** 76,79 **** --- 76,80 ---- void init() { File[] fileList = new File[0]; + cat.debug("directory = "+directory.getAbsolutePath()); if (directory != null && directory.isDirectory()) { fileList = directory.listFiles(); *************** *** 165,169 **** public void write(String file) { try { ! OutputFormat format = new OutputFormat("xml", "UTF-8", true); FileOutputStream fileOut = new FileOutputStream(file); --- 166,170 ---- public void write(String file) { try { ! // OutputFormat format = new OutputFormat("xml", "UTF-8", true); FileOutputStream fileOut = new FileOutputStream(file); |