FileWriter

public class FileWriter extends OutputStreamWriter

A specialized Writer that writes to a file in the file system. All write requests made by calling methods in this class are directly forwarded to the equivalent function of the underlying operating system. Since this may induce some performance penalty, in particular if many small write requests are made, a FileWriter is often wrapped by a BufferedWriter.

Inherited Field Summary

Public Constructor Summary

FileWriter(File file)
Creates a FileWriter using the File file.
FileWriter(File file, boolean append)
Creates a FileWriter using the File file.
FileWriter(FileDescriptor fd)
Creates a FileWriter using the existing FileDescriptor fd.
FileWriter(String filename)
Creates a FileWriter using the platform dependent filename.
FileWriter(String filename, boolean append)
Creates a FileWriter using the platform dependent filename.

Inherited Method Summary