DefaultNlsTemplateResolver
instead.@Deprecated public class NlsTemplateResolverImpl extends AbstractResourceBundleNlsTemplateResolver
NlsTemplateResolver
interface. Supply all your
root
ResourceBundle
s at construction. DefaultNlsTemplateResolver
,
NlsMessage
,
ResourceBundle
Modifier and Type | Field and Description |
---|---|
private NlsReversedResourceBundle[] |
nlsBundles
Deprecated.
the original bundles
|
CLASSPATH_NLS_BUNDLE
Constructor and Description |
---|
NlsTemplateResolverImpl(NlsReversedResourceBundle... reversedBundles)
Deprecated.
The constructor.
|
NlsTemplateResolverImpl(ResourceBundle... internationalBundles)
Deprecated.
The constructor.
|
Modifier and Type | Method and Description |
---|---|
NlsTemplate |
resolveTemplate(String internationalizedMessage)
Deprecated.
This method is used to create the
NlsTemplate from information that is found by the given
internationalizedMessage . |
resolveTemplate, resolveTemplate
doInitialize, doInitialized, getInitializationState, initialize
private final NlsReversedResourceBundle[] nlsBundles
public NlsTemplateResolverImpl(ResourceBundle... internationalBundles)
internationalBundles
- are the root
ResourceBundle
s.public NlsTemplateResolverImpl(NlsReversedResourceBundle... reversedBundles)
reversedBundles
- are the NlsReversedResourceBundle
instances.public NlsTemplate resolveTemplate(String internationalizedMessage)
NlsTemplateResolver
NlsTemplate
from information that is found by the given
internationalizedMessage
. AbstractResourceBundle
(s).internationalizedMessage
- is the internationalized
message
.NlsTemplate
or null
if this implementation failed to resolve the
according template.Copyright © 2001–2016 mmm-Team. All rights reserved.