java.lang.Object | +----java.io.Writer | +----java.io.OutputStreamWriter | +----java.io.FileWriter
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.
public FileWriter(String fileName) throws IOExceptionFileWriter
public FileWriter(String fileName, boolean append) throws IOExceptionFileWriter
public FileWriter(File file) throws IOExceptionFileWriter
public FileWriter(FileDescriptor fd)