Package | Description |
---|---|
net.sf.mmm.util.nls.api |
Provides the API for the native language support (NLS).
|
net.sf.mmm.util.nls.base |
Contains the basis for implementations of the native language support (NLS) API.
|
net.sf.mmm.util.nls.impl |
Provides the GWT compatible implementations for this package.
|
Modifier and Type | Method and Description |
---|---|
NlsTemplate |
NlsTemplateResolver.resolveTemplate(String internationalizedMessage)
This method is used to create the
NlsTemplate from information that is found by the given
internationalizedMessage . |
Modifier and Type | Method and Description |
---|---|
NlsMessage |
NlsMessageFactory.create(NlsTemplate template)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
NlsMessageFactory.create(NlsTemplate template,
Map<String,Object> messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
NlsMessageFactory.create(NlsTemplate template,
Object... messageArguments)
Deprecated.
use
NlsMessageFactory.create(NlsTemplate, Map) instead. |
NlsMessage |
NlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
NlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
NlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
NlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3,
String key4,
Object argument4)
This method creates a new instance of
NlsMessage from the given arguments. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNlsTemplate
This is the abstract base implementation of the
NlsTemplate interface. |
class |
NlsTemplateImpl
This class is the implementation of the
NlsTemplate interface. |
class |
NlsTemplateImplWithMessage
This class extends
NlsTemplateImpl with the
internationalized message as fallback. |
Modifier and Type | Field and Description |
---|---|
private NlsTemplate |
BasicNlsMessage.template
The
BasicNlsMessage.message as NlsTemplate . |
private NlsTemplate |
AbstractNlsBundleFactory.NlsBundleMethodInfo.template |
Modifier and Type | Field and Description |
---|---|
private Map<String,NlsTemplate> |
NlsCachingLocalizer.templatesMap
|
Modifier and Type | Method and Description |
---|---|
protected NlsTemplate |
AbstractNlsBundleFactory.NlsBundleInvocationHandler.createTemplate(Method method)
|
NlsTemplate |
AbstractNlsBundleFactory.NlsBundleMethodInfo.get() |
NlsTemplate |
BasicNlsMessage.getTemplate()
This method gets the
NlsTemplate of this message. |
NlsTemplate |
AbstractNlsBundleFactory.NlsBundleMethodInfo.getTemplate() |
NlsTemplate |
BasicNlsMessage.getTemplate(NlsTemplateResolver resolver)
This method gets the
NlsTemplate of this message. |
protected NlsTemplate |
NlsCachingLocalizer.parseTemplate(String internationalizedMessage)
This method parses the given
internationalizedMessage as NlsTemplate in case it is given in the
form {<BUNDLE>#<KEY>}. |
NlsTemplate |
NoTemplateResolver.resolveTemplate(String internationalizedMessage) |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends javax.inject.Provider<NlsTemplate>> |
AbstractNlsBundleFactory.NlsBundleDescriptor.getTemplateContainers() |
Iterable<? extends javax.inject.Provider<NlsTemplate>> |
AbstractNlsBundleFactory.NlsBundleInvocationHandler.getTemplateContainers() |
Modifier and Type | Method and Description |
---|---|
NlsMessage |
AbstractNlsMessageFactory.create(NlsTemplate template) |
NlsMessage |
AbstractNlsMessageFactoryImpl.create(NlsTemplate template,
Map<String,Object> messageArguments) |
NlsMessage |
AbstractNlsMessageFactory.create(NlsTemplate template,
Object... messageArguments) |
NlsMessage |
AbstractNlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1) |
NlsMessage |
AbstractNlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2) |
NlsMessage |
AbstractNlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3) |
NlsMessage |
AbstractNlsMessageFactory.create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3,
String key4,
Object argument4) |
Constructor and Description |
---|
BasicNlsMessage(NlsTemplate template,
Map<String,Object> messageArguments)
The constructor.
|
BasicNlsMessage(NlsTemplate template,
String internationalizedMessage,
Map<String,Object> messageArguments)
The constructor.
|
NlsBundleMethodInfo(NlsTemplate template,
String[] argumentNames)
The constructor.
|
Modifier and Type | Field and Description |
---|---|
private Map<String,NlsTemplate> |
DefaultNlsTemplateResolver.i18nMsg2TemplateMap |
Modifier and Type | Method and Description |
---|---|
protected NlsTemplate |
AbstractResourceBundleNlsTemplateResolver.resolveTemplate(NlsReversedResourceBundle reversedBundle,
String internationalizedMessage)
Deprecated.
obsolete, will be removed.
|
NlsTemplate |
NlsTemplateResolverImpl.resolveTemplate(String internationalizedMessage)
Deprecated.
|
NlsTemplate |
DefaultNlsTemplateResolver.resolveTemplate(String internationalizedMessage) |
NlsTemplate |
AbstractResourceBundleNlsTemplateResolver.resolveTemplate(String internationalizedMessage,
NlsReversedResourceBundle... bundles)
Deprecated.
obsolete, will be removed.
|
Modifier and Type | Method and Description |
---|---|
private Map<String,NlsTemplate> |
DefaultNlsTemplateResolver.getI18nMsg2TemplateMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultNlsTemplateResolver.initTemplates(Map<String,NlsTemplate> map)
This method initializes the
NlsTemplate s for reverse lookup. |
protected void |
DefaultNlsTemplateResolver.initTemplatesForNlsBundles(Map<String,NlsTemplate> map)
This method initializes the
NlsTemplate s for reverse lookup for NlsBundle s. |
protected void |
DefaultNlsTemplateResolver.initTemplatesForResourceBundles(Map<String,NlsTemplate> map)
This method initializes the
NlsTemplate s for reverse lookup for ResourceBundle s. |
Constructor and Description |
---|
NlsMessageImpl(NlsTemplate template,
Map<String,Object> messageArguments)
The constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.