asResource

open fun asResource(url: String): URL