Package | Description |
---|---|
org.modeshape.common.i18n |
A simple framework for defining internationalized strings and obtaining the localized forms.
|
org.modeshape.common.logging |
Modifier and Type | Class and Description |
---|---|
class |
I18n
An internalized string object, which manages the initialization of internationalization (i18n) files, substitution of values
within i18n message placeholders, and dynamically reading properties from i18n property files.
|
class |
TextI18n
A pass-through implementation of
I18nResource which uses an underlying text as the real value, ignoring any
kind of internationalization. |
Modifier and Type | Method and Description |
---|---|
abstract void |
Logger.error(I18nResource message,
Object... params)
Log a message at the ERROR level according to the specified format and (optional) parameters.
|
abstract void |
Logger.error(Throwable t,
I18nResource message,
Object... params)
Log an exception (throwable) at the ERROR level with an accompanying message.
|
abstract void |
Logger.info(I18nResource message,
Object... params)
Log a message at the INFO level according to the specified format and (optional) parameters.
|
abstract void |
Logger.info(Throwable t,
I18nResource message,
Object... params)
Log an exception (throwable) at the INFO level with an accompanying message.
|
void |
Logger.log(Logger.Level level,
I18nResource message,
Object... params)
Log a message at the supplied level according to the specified format and (optional) parameters.
|
void |
Logger.log(Logger.Level level,
Throwable t,
I18nResource message,
Object... params)
Log an exception (throwable) at the supplied level with an accompanying message.
|
abstract void |
Logger.warn(I18nResource message,
Object... params)
Log a message at the WARNING level according to the specified format and (optional) parameters.
|
abstract void |
Logger.warn(Throwable t,
I18nResource message,
Object... params)
Log an exception (throwable) at the WARNING level with an accompanying message.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.