toUrl

@JvmName(name = "url")
fun toUrl(): URL

Returns this URL as a java.net.URL.