-
Notifications
You must be signed in to change notification settings - Fork 8
The Character Streams FileWriter
Ramesh Fadatare edited this page Aug 14, 2018
·
4 revisions
FileWriter creates a Writer that you can use to write to a file. FileWriter is 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.
FileWriter is meant for writing streams of characters. For writing streams of raw bytes, consider using a FileOutputStream.