public final class ResourceResolver extends Object
META-INF/spring.factories to read ProtocolResolver list that gets
added to DefaultResourceLoader. Each implementor of a new
StubDownloaderBuilder, if one
uses a new protocol, should register their own ProtocolResolver so that Stub
Runner can convert a String version of a URI to a Resource.
IMPORTANT! Internal tool. Do not use.| Modifier and Type | Method and Description |
|---|---|
static org.springframework.core.io.Resource |
resource(String url) |
public static org.springframework.core.io.Resource resource(String url)
url - - string urlResourceCopyright © 2016–2021 Spring. All rights reserved.