| 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.formatter |
Contains the implementation of formatters for the native language support (NLS).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
NlsFormatterPlugin<O>
This interface extends
NlsFormatter with the methods required to register this automatically as
plugin via injection. |
interface |
NlsMessageFormatter
This is the interface for a formatter of a message-text.
|
| Modifier and Type | Field and Description |
|---|---|
private NlsFormatter<?> |
NlsArgument.formatter |
| Modifier and Type | Method and Description |
|---|---|
NlsFormatter<Object> |
NlsFormatterManager.getFormatter()
This method gets the default
NlsFormatter. |
NlsFormatter<?> |
NlsArgument.getFormatter()
Is the formatter used to format the
argument. |
NlsFormatter<?> |
NlsFormatterManager.getFormatter(String formatType)
This method gets the
NlsFormatter for the given formatType. |
NlsFormatter<?> |
NlsFormatterManager.getFormatter(String formatType,
String formatStyle)
|
| Constructor and Description |
|---|
NlsArgument(String key,
NlsFormatter<?> formatter,
Justification justification)
The constructor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
NlsArgumentFormatter
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNlsFormatter<O>
This is the abstract base implementation of the
NlsFormatter interface. |
class |
AbstractNlsFormatterPlugin<O>
T import net.sf.mmm.util.nls.api.NlsTemplateResolver; his is the abstract base-implementation of an
NlsFormatter that is no NlsMessageFormatter
but a sub-formatter for a
specific type and style. |
class |
AbstractNlsMessageFormatter
This is the abstract base implementation of the
NlsMessageFormatter interface. |
class |
SimpleNlsFormatter<O>
This is an abstract base implementation of
NlsFormatter based on
Formatter. |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Map<String,NlsFormatter<?>>> |
NlsFormatterMap.builders |
| Modifier and Type | Method and Description |
|---|---|
NlsFormatter<Object> |
AbstractNlsFormatterManager.getFormatter()
This method gets the default
NlsFormatter. |
NlsFormatter<?> |
AbstractNlsFormatterManager.getFormatter(String formatType)
This method gets the
NlsFormatter for the given formatType. |
NlsFormatter<?> |
NlsFormatterMap.getFormatter(String formatType,
String formatStyle) |
NlsFormatter<?> |
MappedNlsFormatterManager.getFormatter(String formatType,
String formatStyle)
|
protected NlsFormatter<?> |
AbstractNlsFormatterManager.getSubFormatter(String formatType,
CharSequenceScanner scanner)
This method is like
NlsFormatterManager.getFormatter(String, String) but reads the
style from the given scanner. |
protected NlsFormatter<Object> |
MappedNlsFormatterManager.getSubFormatter(String formatType,
String subformat)
|
NlsFormatter<?> |
NlsFormatterMap.registerFormatter(NlsFormatter<?> formatter,
String formatType,
String formatStyle)
This method registers the given
formatBuilder. |
NlsFormatter<?> |
NlsFormatterMap.registerFormatter(NlsFormatterPlugin<?> formatter)
This method registers the given
formatBuilder. |
| Modifier and Type | Method and Description |
|---|---|
NlsFormatter<?> |
NlsFormatterMap.registerFormatter(NlsFormatter<?> formatter,
String formatType,
String formatStyle)
This method registers the given
formatBuilder. |
| Modifier and Type | Method and Description |
|---|---|
protected NlsFormatter<?> |
NlsFormatterManagerImpl.getSubFormatter(String formatType,
CharSequenceScanner scanner)
This method is like
NlsFormatterManager.getFormatter(String, String) but reads the
style from the given scanner. |
protected NlsFormatter<Object> |
NlsFormatterManagerImpl.getSubFormatter(String formatType,
String subformat)
|
Copyright © 2001–2015 mmm-Team. All rights reserved.