Where Am I? Class Hierarchy (JDK) All Classes (JDK) All Fields and Methods (JDK)

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

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

Constructors

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

Where Am I? Class Hierarchy (JDK) All Classes (JDK) All Fields and Methods (JDK)