All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.io.FileWriter

java.lang.Object
    |
    +----java.io.Writer
            |
            +----java.io.OutputStreamWriter
                    |
                    +----java.io.FileWriter

public class FileWriter
extends OutputStreamWriter
Convenience class for writing character files. The constructors of this class assume that the default character encoding and the default byte-buffer size are acceptable. To specify these values yourself, construct an OutputStreamWriter on a FileOutputStream.

Since:
JDK1.1
See Also:
OutputStreamWriter, FileOutputStream

Constructor Index

 o FileWriter(File)
 o FileWriter(FileDescriptor)
 o FileWriter(String)
 o FileWriter(String, boolean)

Constructors

 o FileWriter
public FileWriter(String fileName) throws IOException
 o FileWriter
public FileWriter(String fileName,
                  boolean append) throws IOException
 o FileWriter
public FileWriter(File file) throws IOException
 o FileWriter
public FileWriter(FileDescriptor fd)

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature