]> gcc.gnu.org Git - gcc.git/blob - libjava/java/io/FileWriter.java
Initial revision
[gcc.git] / libjava / java / io / FileWriter.java
1 // FileWriter.java - Character output to a file.
2
3 /* Copyright (C) 1998, 1999 Cygnus Solutions
4
5 This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 details. */
10
11 package java.io;
12
13 /**
14 * @author Tom Tromey <tromey@cygnus.com>
15 * @date September 25, 1998
16 */
17
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.
21 */
22
23 public class FileWriter extends OutputStreamWriter
24 {
25 public FileWriter (String fileName) throws IOException
26 {
27 super (new FileOutputStream (fileName));
28 }
29
30 public FileWriter (String fileName, boolean append) throws IOException
31 {
32 super (new FileOutputStream (fileName, append));
33 }
34
35 public FileWriter (File file) throws IOException
36 {
37 super (new FileOutputStream (file));
38 }
39
40 public FileWriter (FileDescriptor fd)
41 {
42 super (new FileOutputStream (fd));
43 }
44 }
This page took 0.041547 seconds and 6 git commands to generate.