This commit is contained in:
Horis committed 2023-04-17 21:52:59 +08:00
1 parent acd247eeb5
commit e90aa26c77
2 files changed
+16

No files matched your search

@@ -6,6 +6,7 @@ import cn.hutool.core.codec.Base64
import cn.hutool.core.util.HexUtil
import com.github.junrar.Archive
import com.github.junrar.rarfile.FileHeader
import com.github.liuyueyi.quick.transfer.ChineseUtils
import io.legado.app.constant.AppConst
import io.legado.app.constant.AppConst.dateFormat
import io.legado.app.constant.AppLog
@@ -449,6 +450,14 @@ interface JsExtensions : JsEncodeUtils {
return HtmlFormatter.formatKeepImg(str)
}
fun t2s(text: String): String {
return ChineseUtils.t2s(text)
}
fun s2t(text: String): String {
return ChineseUtils.s2t(text)
}
//****************文件操作******************//
/**