Package | Description |
---|---|
net.sf.mmm.util.cli.api |
Provides the API for utilities that help to build command-line-interfaces (CLI).
|
net.sf.mmm.util.cli.base |
Contains the base-implementation of utilities that help to build command-line-interfaces (CLI).
|
net.sf.mmm.util.exception.api |
Provides the API for utilities that help to deal with exceptions.
|
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.
|
net.sf.mmm.util.nls.impl.formatter |
Contains the implementation of formatters for the native language support (NLS).
|
net.sf.mmm.util.nls.impl.spring |
Modifier and Type | Field and Description |
---|---|
private NlsTemplateResolver |
CliOutputSettings.templateResolver |
Modifier and Type | Method and Description |
---|---|
NlsTemplateResolver |
CliOutputSettings.getTemplateResolver() |
Modifier and Type | Method and Description |
---|---|
void |
CliOutputSettings.setTemplateResolver(NlsTemplateResolver templateResolver) |
Modifier and Type | Field and Description |
---|---|
private NlsTemplateResolver |
AbstractCliParserBuilder.nlsTemplateResolver |
Modifier and Type | Method and Description |
---|---|
NlsTemplateResolver |
CliParserDependencies.getNlsTemplateResolver() |
NlsTemplateResolver |
AbstractCliParserBuilder.getNlsTemplateResolver() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCliParserBuilder.setNlsTemplateResolver(NlsTemplateResolver nlsTemplateResolver) |
Modifier and Type | Method and Description |
---|---|
String |
GenericSerializableException.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver) |
void |
GenericSerializableException.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver,
Appendable buffer) |
Modifier and Type | Field and Description |
---|---|
private static NlsTemplateResolver |
NlsAccess.templateResolver |
Modifier and Type | Method and Description |
---|---|
static NlsTemplateResolver |
NlsAccess.getTemplateResolver()
This method gets the default
NlsTemplateResolver . |
Modifier and Type | Method and Description |
---|---|
String |
NlsFormatter.format(O object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver)
This method formats the given
object according to the given locale . |
void |
NlsFormatter.format(O object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer)
This method formats the given
object according to the given locale . |
void |
NlsMessageFormatter.format(Void nothing,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer)
This method formats the underlying pattern by filling in the given
arguments and writing the result into
the given buffer . |
String |
NlsMessage.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver)
Deprecated.
providing external
NlsTemplateResolver has been discouraged. |
void |
NlsMessage.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver,
Appendable buffer)
Deprecated.
providing external
NlsTemplateResolver has been discouraged. |
static void |
NlsAccess.setTemplateResolver(NlsTemplateResolver templateResolver)
This method sets (overrides) the default
NlsTemplateResolver . |
boolean |
NlsTemplate.translate(Locale locale,
Map<String,Object> arguments,
Appendable buffer,
NlsTemplateResolver resolver,
NlsDependencies nlsDependencies)
This method behaves like
NlsTemplate.translate(Locale) but additionally fills the given arguments into the
translated message writing into the given buffer . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNlsTemplateResolver
This is the abstract base implementation of the
NlsTemplateResolver interface. |
class |
NoTemplateResolver
This is a dummy implementation of the
NlsTemplateResolver interface that performs no resolving (always
returns null for NoTemplateResolver.resolveTemplate(String) ). |
Modifier and Type | Field and Description |
---|---|
static NlsTemplateResolver |
NoTemplateResolver.INSTANCE
The singleton instance.
|
private NlsTemplateResolver |
NlsWriter.resolver
The
NlsTemplateResolver . |
private NlsTemplateResolver |
NlsCachingLocalizer.templateResolver
The
NlsTemplateResolver instance. |
Modifier and Type | Method and Description |
---|---|
String |
SimpleNlsFormatter.format(O object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver) |
String |
AbstractNlsFormatter.format(O object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver) |
void |
SimpleNlsFormatter.format(O object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer) |
String |
NlsMessagePlain.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver) |
String |
AbstractNlsMessage.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver) |
void |
NlsMessagePlain.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver,
Appendable buffer) |
void |
ComposedNlsMessage.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver,
Appendable buffer) |
NlsTemplate |
BasicNlsMessage.getTemplate(NlsTemplateResolver resolver)
This method gets the
NlsTemplate of this message. |
boolean |
AbstractNlsTemplate.translate(Locale locale,
Map<String,Object> arguments,
Appendable buffer,
NlsTemplateResolver resolver,
NlsDependencies nlsDependencies) |
Constructor and Description |
---|
NlsCachingLocalizer(String bundleName,
NlsMessageFactory messageFactory,
NlsTemplateResolver templateResolver)
The constructor.
|
NlsCachingLocalizer(String bundleName,
NlsMessageFactory messageFactory,
NlsTemplateResolver templateResolver,
MapFactory<? extends Map> mapFactory)
The constructor.
|
NlsWriter(Appendable appendable,
Map<String,Object> arguments,
Locale locale,
String newline,
NlsMessageFactory messageFactory,
NlsTemplateResolver resolver)
The constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceBundleNlsTemplateResolver
This is an abstract base implementation of the
NlsTemplateResolver interface. |
class |
DefaultNlsTemplateResolver
This is the default implementation of the
NlsTemplateResolver . |
class |
NlsTemplateResolverImpl
Deprecated.
use
DefaultNlsTemplateResolver instead. |
Modifier and Type | Method and Description |
---|---|
void |
NlsMessageImpl.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver,
Appendable buffer) |
Modifier and Type | Method and Description |
---|---|
void |
NlsArgumentFormatterImpl.format(NlsArgument argument,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer) |
void |
NlsFormatterType.format(Object object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer) |
void |
NlsFormatterDefault.format(Object object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer) |
void |
NlsFormatterChoice.format(Object object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer) |
void |
NlsMessageFormatterImpl.format(Void nothing,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer) |
Modifier and Type | Method and Description |
---|---|
NlsTemplateResolver |
UtilNlsSpringConfig.nlsTemplateResolver() |
Copyright © 2001–2016 mmm-Team. All rights reserved.