write File From String
Write file from string.
Return
{@code true}
: success{@code false}
: fail
Parameters
filePath
The path of file.
content
The string of content.
open fun writeFileFromString(filePath: String, content: String, append: Boolean): Boolean
Content copied to clipboard
Write file from string.
Return
{@code true}
: success{@code false}
: fail
Parameters
filePath
The path of file.
content
The string of content.
append
True to append, false otherwise.
Write file from string.
Return
{@code true}
: success{@code false}
: fail
Parameters
file
The file.
content
The string of content.
open fun writeFileFromString(file: File, content: String, append: Boolean): Boolean
Content copied to clipboard
Write file from string.
Return
{@code true}
: success{@code false}
: fail
Parameters
file
The file.
content
The string of content.
append
True to append, false otherwise.