public abstract class AbstractResourceBundleNlsTemplateResolver extends AbstractNlsTemplateResolver
NlsTemplateResolver
interface. internationalized message
using NlsReversedResourceBundle
. With that key and the name of the according
ResourceBundle
it is possible to create the according NlsTemplate
. lookup
for a regular bundle
with the same name
. NlsObject
s by injecting itself
into the NlsFormatterManager
used by the resolved
templates
. NlsMessage
,
ResourceBundle
CLASSPATH_NLS_BUNDLE
Constructor and Description |
---|
AbstractResourceBundleNlsTemplateResolver()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected NlsTemplate |
resolveTemplate(NlsReversedResourceBundle reversedBundle,
String internationalizedMessage)
Deprecated.
obsolete, will be removed.
|
NlsTemplate |
resolveTemplate(String internationalizedMessage,
NlsReversedResourceBundle... bundles)
Deprecated.
obsolete, will be removed.
|
doInitialize, doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveTemplate
public AbstractResourceBundleNlsTemplateResolver()
@Deprecated protected NlsTemplate resolveTemplate(NlsReversedResourceBundle reversedBundle, String internationalizedMessage)
reversedBundle
- is the resource-bundle that potentially declare the internationalizedMessage
.internationalizedMessage
- is the message for which the NlsTemplate
is required.NlsTemplate
or null
if the internationalizedMessage
is NOT declared
in resourceBundle
.@Deprecated public NlsTemplate resolveTemplate(String internationalizedMessage, NlsReversedResourceBundle... bundles)
internationalizedMessage
- is the message for which the NlsTemplate
is required.bundles
- are the reversed bundles
that potentially declare the
internationalizedMessage
.NlsTemplate
or null
if the internationalizedMessage
is NOT declared
in resourceBundle
.Copyright © 2001–2016 mmm-Team. All rights reserved.