Changeset 8857
- Timestamp:
- 2004-12-17T16:57:50+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java
r8837 r8857 45 45 import java.io.BufferedReader; 46 46 import java.io.FileOutputStream; 47 import java.io.OutputStreamWriter; 47 48 import java.io.DataInputStream; 48 49 import java.io.IOException; … … 2001 2002 2002 2003 FileOutputStream out; 2003 Print Streamp;2004 PrintWriter p; 2004 2005 //setup to write to filename from existing file 2005 2006 try { 2006 2007 out = new FileOutputStream(Utility.METADATA_DIR + "/"+ namespace_str + ".mds"); 2007 p = new PrintStream(out); 2008 OutputStreamWriter pout = new OutputStreamWriter(out, "UTF8"); 2009 p = new PrintWriter(pout); 2008 2010 2009 2011 //cycle through all lines in IN and print to OUT
Note:
See TracChangeset
for help on using the changeset viewer.