public class StringResourceResolver extends AbstractPrefixedLookupPathResolver implements ResourceResolver
Resource
Constructor and Description |
---|
StringResourceResolver(String... lookups) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
getResource(ResourcePath resourcePath)
Find the resource using the resource path (or its name).
|
getLookup, getResource, getResourcePath, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResource, getResourcePath, supports
public StringResourceResolver(String... lookups)
protected Resource getResource(ResourcePath resourcePath) throws ResourceResolutionException
AbstractPrefixedLookupPathResolver
getResource
in class AbstractPrefixedLookupPathResolver
resourcePath
- the path of the resourceResourceResolutionException
- when the resource couldn't be foundCopyright © 2017. All rights reserved.