|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.config.i18n.LocaleMessageHandler
public class LocaleMessageHandler
The LocaleMessageHandler
is essentially a merging of the Message
and Messages classes, since there is no good reason to have them separate. A
key point is that this Handler is meant to be used for application-specific
messages, rather than core system messages. (That's not to say it couldn't
eventually replace the latter, however). Note that message codes are Strings
here, instead of the ints in Message.
Field Summary | |
---|---|
protected static Log |
logger
logger used by this class |
Constructor Summary | |
---|---|
LocaleMessageHandler()
|
Method Summary | |
---|---|
static String |
getString(String bundleName,
Locale locale,
String code,
Object[] args)
Get the resource string for the given bundle name, locale, resource code and array of arguments. |
static String |
getString(String bundleName,
String code)
Get the resource string for the given bundle name and resource code |
static String |
getString(String bundleName,
String code,
Object arg1)
Get the resource string for the given bundle name, resource code and one argument |
static String |
getString(String bundleName,
String code,
Object[] args)
Get the resource string for the given bundle name, resource code and array of arguments. |
static String |
getString(String bundleName,
String code,
Object arg1,
Object arg2)
Get the resource string for the given bundle name, resource code and two arguments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Log logger
Constructor Detail |
---|
public LocaleMessageHandler()
Method Detail |
---|
public static String getString(String bundleName, String code)
public static String getString(String bundleName, String code, Object arg1)
public static String getString(String bundleName, String code, Object arg1, Object arg2)
public static String getString(String bundleName, String code, Object[] args)
public static String getString(String bundleName, Locale locale, String code, Object[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |