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.