Changeset 2331


Ignore:
Timestamp:
Feb 5, 2007, 1:05:32 AM (14 years ago)
Author:
yura
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/java/org/refal/plus/wrapgen/RFIFile.java

    r2330 r2331  
    55import java.io.FileOutputStream;
    66import java.io.FileReader;
    7 import java.io.PrintStream;
     7import java.io.FileWriter;
     8import java.io.PrintWriter;
    89import java.util.ArrayList;
    910import java.util.HashMap;
     
    1314class RFIFile {
    1415        private String className;
    15         private PrintStream out;
     16        private PrintWriter out;
    1617        private ArrayList refalNames;
    1718        private HashMap refalFunctions;
     
    5051                                readRFIFile(file);
    5152                        else
    52                                 this.out = new PrintStream(new FileOutputStream(file));
     53                                this.out = new PrintWriter(new FileWriter(file), true);
    5354                } catch (Exception e) {}
    5455        }
Note: See TracChangeset for help on using the changeset viewer.