public class DefaultResourceResolver extends AbstractResourceResolver
EMPTY_OBJECT_ARGS, ERROR_ARGS_NULL, ERROR_KEY_BLANK, ERROR_LOCALE_NULL, ERROR_RESOURCE_NULL
REF_KEY_END, REF_KEY_START
Constructor and Description |
---|
DefaultResourceResolver(CompositeResourceBundleBuilder builder,
String basename) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doResolveResourceValue(String key,
Locale locale) |
String |
getBasename() |
protected ResourceBundle |
getBundle(Locale locale) |
evalResourceWithArguments, evalResourceWithArguments, formatResource, formatResource, formatResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResourceValue, toObjectArray
public DefaultResourceResolver(@Nonnull CompositeResourceBundleBuilder builder, @Nonnull String basename)
@Nonnull protected Object doResolveResourceValue(@Nonnull String key, @Nonnull Locale locale) throws NoSuchResourceException
doResolveResourceValue
in class AbstractResourceResolver
NoSuchResourceException
@Nonnull protected ResourceBundle getBundle(@Nonnull Locale locale)