writeText

fun File.writeText(content: String)(source)

Writes the specified content to the receiver File with the default charset.

Parameters

content

the content to be written to the file