ResourcePatternResolver.
Callers will usually assume that a location is a relative path
if the isUrl(String) method returns false.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ResourcePatternResolver | Returns: the ResourcePatternResolverthe ResourceLoader to build a pattern resolver for
(may be resourceLoader)null to indicate a default ResourceLoader)Return a default |
| public static boolean |
| ResourcePatternUtils | back to summary |
|---|---|
| public ResourcePatternUtils() | |
| getResourcePatternResolver | back to summary |
|---|---|
| public static ResourcePatternResolver getResourcePatternResolver(ResourceLoader resourceLoader) Return a default This might be the
| |
| isUrl | back to summary |
|---|---|
| public static boolean isUrl(String resourceLocation) Return whether the given resource location is a URL: either a special "classpath" or "classpath*" pseudo URL or a standard URL.
| |