Class java.io.FileWriter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.io.FileWriter

Object
   |
   +----Writer
           |
           +----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.

Version:
1.5, 98/07/01
Author:
Mark Reinhold
Since:
JDK1.1
See Also:
OutputStreamWriter, FileOutputStream

Constructor Index

 o java.io.FileWriter(String)
 o java.io.FileWriter(String, boolean)
 o java.io.FileWriter(File)
 o java.io.FileWriter(FileDescriptor)

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