public interface GroovyAwareResourceResolver extends ResourceResolver
REF_KEY_END, REF_KEY_START
Modifier and Type | Method and Description |
---|---|
Object |
getAt(List<?> keyAndArgs)
Try to resolve the resource.
|
Object |
getAt(String key)
Try to resolve the resource.
|
formatResource, formatResource, formatResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResourceValue
@Nonnull Object getAt(@Nonnull String key) throws NoSuchResourceException
key
- Key to lookup, such as 'sample.SampleModel.icon'NoSuchResourceException
- if no resource is found@Nonnull Object getAt(@Nonnull List<?> keyAndArgs) throws NoSuchResourceException
keyAndArgs
- Key to lookup, such as 'sample.SampleModel.icon' and arguments
that will be filled in for params within the resource (params look like "{0}" within a
resource, but this might differ between implementations), or null if none.NoSuchResourceException
- if no resource is found