spring-framework / org.springframework.core.io / PathResource / getURL

getURL

open fun getURL(): URL

This implementation returns a URL for the underlying file.

See Also
java.nio.file.Path#toUri()java.net.URI#toURL()