public class ResourceBundleResolver extends DummyTransformResolver
ResourceBundle resolver. Unlike ResourceBundleLambda this
resolver is not limited to String-based values. However keep in mind that
resource bundle keys cannot contain dots.ResourceBundle,
ResourceBundleLambdaconfigurationBUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
ResourceBundleResolver(String baseName) |
ResourceBundleResolver(String baseName,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
Object |
transform(Object contextObject,
String name,
ResolutionContext context) |
resolvematches, matches, matchingName, performTransformation, setMatchingNamesgetCurrentLocale, initgetPriority, toStringgetConfigurationKeys, checkNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfigurationKeys, initpublic ResourceBundleResolver(String baseName)
baseName - The base name of the resource bundlepublic ResourceBundleResolver(String baseName, int priority)
baseName - The base name of the resource bundlepriority - public Object transform(Object contextObject, String name, ResolutionContext context)
transform in interface Transformertransform in class TransformResolverCopyright © 2015. All Rights Reserved.