This commit is contained in:
2025-04-29 14:11:15 +08:00
parent 11a1264a4b
commit acbfb6cb27
8 changed files with 56 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
/*
* Copyright © 2025 RTAkland
* Date: 2025/4/29 14:03
* Open Source Under Apache-2.0 License
* https://www.apache.org/licenses/LICENSE-2.0
*/
package cn.rtast.runbroker.common.util
import java.net.URI
import java.net.URL
fun String.toURL(): URL = URI(this).toURL()