| com.sun.jbi.StringTranslator
All known Subclasses: com.sun.jbi.common.StringTranslatorImpl, com.sun.jbi.messaging.NMRContext, com.sun.jbi.management.system.StringTranslator, com.sun.jbi.framework.StringTranslator,
StringTranslator | public interface StringTranslator (Code) | | This is the interface to the String Translator, which provides services
for internationalization of messages to all services running inside the
JBI environment.
author: Sun Microsystems, Inc. |
Method Summary | |
String | getString(String key) Get a localized string using the specified resource key.
Parameters: key - the key to the localized string in the resource bundle. | String | getString(String key, Object insert1) Get a localized string using the specified resource key. | String | getString(String key, Object insert1, Object insert2) Get a localized string using the specified resource key. | String | getString(String key, Object insert1, Object insert2, Object insert3) Get a localized string using the specified resource key. | String | getString(String key, Object insert1, Object insert2, Object insert3, Object insert4) Get a localized string using the specified resource key. | String | getString(String key, Object[] inserts) Get a localized string using the specified resource key. |
getString | String getString(String key)(Code) | | Get a localized string using the specified resource key.
Parameters: key - the key to the localized string in the resource bundle. the localized string. |
getString | String getString(String key, Object insert1)(Code) | | Get a localized string using the specified resource key. Handle one
message insert.
Parameters: key - the key to the localized string in the resource bundle. Parameters: insert1 - the message insert. the localized string formatted with the message insert. |
getString | String getString(String key, Object insert1, Object insert2)(Code) | | Get a localized string using the specified resource key. Handle two
message inserts.
Parameters: key - the key to the localized string in the resource bundle. Parameters: insert1 - the first message insert. Parameters: insert2 - the second message insert. the localized string formatted with the message inserts. |
getString | String getString(String key, Object insert1, Object insert2, Object insert3)(Code) | | Get a localized string using the specified resource key. Handle three
message inserts.
Parameters: key - the key to the localized string in the resource bundle. Parameters: insert1 - the first message insert. Parameters: insert2 - the second message insert. Parameters: insert3 - the third message insert. the localized string formatted with the message inserts. |
getString | String getString(String key, Object insert1, Object insert2, Object insert3, Object insert4)(Code) | | Get a localized string using the specified resource key. Handle four
message inserts.
Parameters: key - the key to the localized string in the resource bundle. Parameters: insert1 - the first message insert. Parameters: insert2 - the second message insert. Parameters: insert3 - the third message insert. Parameters: insert4 - the fourth message insert. the localized string formatted with the message inserts. |
getString | String getString(String key, Object[] inserts)(Code) | | Get a localized string using the specified resource key. Handle any
number of message inserts.
Parameters: key - the key to the localized string in the resource bundle. Parameters: inserts - the array of message inserts. the localized string formatted with the message inserts. |
|
|