/[classpath]/classpath/java/io/FileWriter.java
ViewVC logotype

Diff of /classpath/java/io/FileWriter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by arenn, Sun Mar 9 21:54:34 2003 UTC revision 1.6 by arenn, Sat Mar 15 23:08:05 2003 UTC
# Line 1  Line 1 
1  /* FileWriter.java -- Convenience class for writing to files.  /* FileWriter.java -- Convenience class for writing to files.
2     Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2001, 2003 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 76  public class FileWriter extends OutputSt Line 76  public class FileWriter extends OutputSt
76    }    }
77    
78    /*************************************************************************/    /*************************************************************************/
79    
80      /**
81        * This method initializes a new <code>FileWriter</code> object to write
82        * to the specified <code>File</code> object.
83        *
84        * @param file The <code>File</code> object to write to.
85        * @param append <code>true</code> to start adding data at the end of the
86        *               file, <code>false</code> otherwise.
87        *
88        * @param SecurityException If writing to this file is forbidden by the
89        *                          <code>SecurityManager</code>.
90        * @param IOException If any other error occurs
91        */
92      public FileWriter(File file, boolean append) throws IOException
93      {
94        super(new FileOutputStream(file, append));
95      }
96    
97      /*************************************************************************/
98    
99    /**    /**
100      * This method initializes a new <code>FileWriter</code> object to write      * This method initializes a new <code>FileWriter</code> object to write

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26