|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.Messages
public class Messages
Class for accessing NLS (National Language Support) enabled messages in the IBM WebSphere Appliance Management Toolkit.
Field Summary | |
---|---|
static java.lang.String |
BUNDLE_NAME
|
static java.lang.String |
COPYRIGHT_2009_2013
|
static java.lang.String |
NONMSG_BUNDLE_NAME
|
Method Summary | |
---|---|
static java.lang.String |
getNonMsgString(java.lang.String key)
Return a String from the non-message text bundle. |
static java.lang.String |
getNonMsgString(java.lang.String key,
java.util.Locale locale)
Return a String from the non-message text bundle, based on a locale. |
static java.lang.String |
getNonMsgString(java.lang.String key,
java.util.Locale locale,
java.lang.Object arg)
Return a String from the non-message text bundle, based on a locale, with a single text parameter substituted. |
static java.lang.String |
getNonMsgString(java.lang.String key,
java.util.Locale locale,
java.lang.Object[] args)
Return a String from the non-message text bundle, based on a locale, with text parameters substituted. |
static java.lang.String |
getNonMsgString(java.lang.String key,
java.lang.Object arg)
Return a String from the non-message text bundle, using the default locale, with a single text parameter substituted. |
static java.lang.String |
getNonMsgString(java.lang.String key,
java.lang.Object[] args)
Return a String from the non-message text bundle, using the default locale, with text parameters substituted. |
static java.lang.String |
getString(java.util.ResourceBundle bundle,
java.lang.String key)
Returns an String from a bundle. |
static java.lang.String |
getString(java.lang.String key)
Return a String from the message bundle. |
static java.lang.String |
getString(java.lang.String key,
java.util.Locale locale)
Return a String from the message bundle, based on a locale. |
static java.lang.String |
getString(java.lang.String key,
java.util.Locale locale,
java.lang.Object arg)
Return a String from the message bundle, based on a locale, with a single message parameter substituted. |
static java.lang.String |
getString(java.lang.String key,
java.util.Locale locale,
java.lang.Object[] args)
Return a String from the message bundle, based on a locale, with message parameters substituted. |
static java.lang.String |
getString(java.lang.String key,
java.lang.Object arg)
Return a String from the message bundle, using the default locale, with a single message parameter substituted. |
static java.lang.String |
getString(java.lang.String key,
java.lang.Object[] args)
Return a String from the message bundle, using the default locale, with message parameters substituted. |
static void |
setMessagePrefix(java.lang.String inPrefix)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT_2009_2013
public static final java.lang.String BUNDLE_NAME
public static final java.lang.String NONMSG_BUNDLE_NAME
Method Detail |
---|
public static void setMessagePrefix(java.lang.String inPrefix)
public static java.lang.String getString(java.util.ResourceBundle bundle, java.lang.String key)
bundle
- The bundle to get the string fromkey
- The key used to access the string in the bundle.
public static java.lang.String getString(java.lang.String key)
key
- The key used to access the string in the bundle.
public static java.lang.String getString(java.lang.String key, java.util.Locale locale)
key
- The key used to access the string in the bundle.locale
- The locale for the string to be returned.
public static final java.lang.String getString(java.lang.String key, java.util.Locale locale, java.lang.Object[] args)
key
- The key used to access the string in the bundle.locale
- The locale for the string to be returned.args
- The array of parameters to be substituted in the message.
public static final java.lang.String getString(java.lang.String key, java.lang.Object[] args)
key
- The key used to access the string in the bundle.args
- The array of parameters to be substituted in the message.
public static final java.lang.String getString(java.lang.String key, java.util.Locale locale, java.lang.Object arg)
key
- The key used to access the string in the bundle.locale
- The locale for the string to be returned.arg
- The single parameter to be substituted in the message.
public static final java.lang.String getString(java.lang.String key, java.lang.Object arg)
key
- The key used to access the string in the bundle.arg
- The single parameter to be substituted in the message.
public static java.lang.String getNonMsgString(java.lang.String key)
key
- The key used to access the string in the bundle.
public static java.lang.String getNonMsgString(java.lang.String key, java.util.Locale locale)
key
- The key used to access the string in the bundle.locale
- The locale for the string to be returned.
public static final java.lang.String getNonMsgString(java.lang.String key, java.util.Locale locale, java.lang.Object[] args)
key
- The key used to access the string in the bundle.locale
- The locale for the string to be returned.args
- The array of parameters to be substituted in the text.
public static final java.lang.String getNonMsgString(java.lang.String key, java.lang.Object[] args)
key
- The key used to access the string in the bundle.args
- The array of parameters to be substituted in the text.
public static final java.lang.String getNonMsgString(java.lang.String key, java.util.Locale locale, java.lang.Object arg)
key
- The key used to access the string in the bundle.locale
- The locale for the string to be returned.arg
- The single parameter to be substituted in the text.
public static final java.lang.String getNonMsgString(java.lang.String key, java.lang.Object arg)
key
- The key used to access the string in the bundle.arg
- The single parameter to be substituted in the text.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |