]>
gcc.gnu.org Git - gcc.git/blob - libjava/java/io/FileWriter.java
1 // FileWriter.java - Character output to a file.
3 /* Copyright (C) 1998, 1999 Cygnus Solutions
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
14 * @author Tom Tromey <tromey@cygnus.com>
15 * @date September 25, 1998
18 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
19 * "The Java Language Specification", ISBN 0-201-63451-1
20 * Status: Complete to version 1.1.
23 public class FileWriter
extends OutputStreamWriter
25 public FileWriter (String fileName
) throws IOException
27 super (new FileOutputStream (fileName
));
30 public FileWriter (String fileName
, boolean append
) throws IOException
32 super (new FileOutputStream (fileName
, append
));
35 public FileWriter (File file
) throws IOException
37 super (new FileOutputStream (file
));
40 public FileWriter (FileDescriptor fd
)
42 super (new FileOutputStream (fd
));
This page took 0.041547 seconds and 6 git commands to generate.