public class Utf8Writer extends OutputStreamWriter
Constructor and Description |
---|
Utf8Writer(File file)
Creates a new UTF-8 writer.
|
Utf8Writer(File file,
boolean append)
Creates a new UTF-8 writer.
|
Utf8Writer(OutputStream out)
Creates a new UTF-8 writer.
|
close, flush, getEncoding, write, write, write
public Utf8Writer(OutputStream out)
out
- the output stream to write topublic Utf8Writer(File file) throws FileNotFoundException
file
- the file to write toFileNotFoundException
- if the file cannot be written topublic Utf8Writer(File file, boolean append) throws FileNotFoundException
file
- the file to write toappend
- true to append to the file, false to overwrite it (this
parameter has no effect if the file does not exist)FileNotFoundException
- if the file cannot be written toCopyright © 2012–2020 Michael Angstadt. All rights reserved.