java.lang.Object | |
↳ | org.springframework.core.io.support.ResourcePatternUtils |
Utility class for determining whether a given URL is a resource location that can be loaded via a ResourcePatternResolver.
Callers will usually assume that a location is a relative path
if the isUrl(String)
method returns false
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a default ResourcePatternResolver for the given ResourceLoader.
| |||||||||||
Return whether the given resource location is a URL: either a
special "classpath" or "classpath*" pseudo URL or a standard URL.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Return a default ResourcePatternResolver for the given ResourceLoader.
This might be the ResourceLoader itself, if it implements the ResourcePatternResolver extension, or a PathMatchingResourcePatternResolver built on the given ResourceLoader.
resourceLoader | the ResourceLoader to build a pattern resolver for
(may be null to indicate a default ResourceLoader) |
---|
Return whether the given resource location is a URL: either a special "classpath" or "classpath*" pseudo URL or a standard URL.
resourceLocation | the location String to check |
---|