writeStr

abstract fun writeStr(contents: String, path: String)

Writes the given UTF-8-encoded string into a file at the given path.

Parameters

contents
the string to write.
path
a fully qualified path.

Throws

if an I/O error occurs.