Constructors Summary |
---|
public FileWriter(File file)Creates a FileWriter using the File {@code file}.
super(new FileOutputStream(file));
|
public FileWriter(File file, boolean append)Creates a FileWriter using the File {@code file}. The parameter
{@code append} determines whether or not the file is opened and appended
to or just opened and overwritten.
super(new FileOutputStream(file, append));
|
public FileWriter(FileDescriptor fd)Creates a FileWriter using the existing FileDescriptor {@code fd}.
super(new FileOutputStream(fd));
|
public FileWriter(String filename)Creates a FileWriter using the platform dependent {@code filename}.
super(new FileOutputStream(new File(filename)));
|
public FileWriter(String filename, boolean append)Creates a FileWriter using the platform dependent {@code filename}. The
parameter {@code append} determines whether or not the file is opened and
appended to or just opened and overwritten.
super(new FileOutputStream(filename, append));
|