sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
com.m8test.script.core.api.file
/
ScriptFile
/
writeText
write
Text
abstract
fun
writeText
(
text
:
String
,
charset
:
String
)
将此文件的内容设置为使用指定字符集编码的文本. 如果此文件存在, 它将被覆盖.
Parameters
text
要写入文件的文本
charset
要使用的字符集