| Package | Description |
|---|---|
| org.marketcetera.util.l10n |
Message localization tools.
|
| org.marketcetera.util.log |
Multi-tiered logging and internationalization (i18n) framework.
|
| Modifier and Type | Method and Description |
|---|---|
I18NMessage |
I18NMessageInfo.getMessage()
Returns the receiver's internationalized message.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ContainerClassInfo.addMessage(I18NMessage message)
Adds the given message to the receiver's meta-information.
|
| Constructor and Description |
|---|
I18NMessageInfo(String key,
int paramCount,
I18NMessage message)
Creates a new meta-information holder with the given message
key, parameter count, and internationalized message.
|
| Modifier and Type | Class and Description |
|---|---|
class |
I18NBoundMessageBase<T extends I18NMessage>
A bound message implementation, representing the combination of an
I18NMessage and its parameters, if any. |
| Modifier and Type | Class and Description |
|---|---|
class |
I18NMessage0P
An internationalized message, requiring exactly zero parameters.
|
class |
I18NMessage1P
An internationalized message, requiring exactly one parameter.
|
class |
I18NMessage2P
An internationalized message, requiring exactly two parameters.
|
class |
I18NMessage3P
An internationalized message, requiring exactly three parameters.
|
class |
I18NMessage4P
An internationalized message, requiring exactly four parameters.
|
class |
I18NMessage5P
An internationalized message, requiring exactly five parameters.
|
class |
I18NMessage6P
An internationalized message, requiring exactly six parameters.
|
class |
I18NMessageNP
An internationalized message, accepting an arbitrary number of
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
I18NMessage |
I18NBoundMessage.getMessage()
Returns the receiver's message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
I18NLoggerProxy.debug(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the debugging level.
|
void |
I18NLoggerProxy.debug(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the debugging level.
|
void |
I18NLoggerProxy.error(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the error level.
|
void |
I18NLoggerProxy.error(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the error level.
|
static String |
LogUtils.getSimpleMessage(I18NMessage message,
Object... params)
Returns a simplified textual representation of the
parameterized message.
|
static String |
LogUtils.getSimpleMessage(I18NMessageProvider provider,
I18NMessage message,
Object... params)
Returns a simplified textual representation of the given
provider and parameterized message.
|
String |
I18NMessageProvider.getText(I18NMessage message,
Object... params)
Returns the text of the given message in the active locale per
ActiveLocale. |
String |
I18NMessageProvider.getText(Locale locale,
I18NMessage message,
Object... params)
Returns the text of the given message in the given locale,
using the receiver's map.
|
void |
I18NLoggerProxy.info(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the informational level.
|
void |
I18NLoggerProxy.info(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the informational level.
|
void |
I18NLoggerProxy.trace(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the tracing level.
|
void |
I18NLoggerProxy.trace(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the tracing level.
|
void |
I18NLoggerProxy.warn(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the warning level.
|
void |
I18NLoggerProxy.warn(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the warning level.
|
Copyright © 2015. All Rights Reserved.