writer
fun Path.writer(
charset: Charset = Charsets.UTF_8,
vararg options: OpenOption
): OutputStreamWriter
(source)
Returns a new OutputStreamWriter for writing the content of this file.
Parameters
charset
- character set to use for writing text, UTF-8 by default.