| com.microstrategy.web.beans.Messages |
The interface encapsulates messages information.
The default locale is Locale.US.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Locale |
getLocale()
Returns the
java.util.Locale object of the current Messages. | ||||||||||
| abstract String |
getLocaleId()
Return the locale ID of this messages.
| ||||||||||
| abstract MessagesManager |
getMessagesManager()
Returns the
MessagesManager for this messages. | ||||||||||
| abstract String |
getString(String key, String defultValue)
Returns the String descriptor mapped to the specified key.
| ||||||||||
| abstract String |
getString(String key)
Returns the String descriptor mapped to the specified key.
| ||||||||||
| abstract String[] |
getStringArray(String key)
Returns an
Array of String descriptors mapped by the
specified key. | ||||||||||
| abstract boolean |
hasString(String key)
Returns whether a String descriptor exists for the specified key.
| ||||||||||
Returns the java.util.Locale object of the current Messages.
java.util.Locale object.
Return the locale ID of this messages.
Returns the MessagesManager for this messages.
MessagesManager.
Returns the String descriptor mapped to the specified key.
| key | the key of the descriptor. |
|---|
Returns the String descriptor mapped to the specified key.
| key | the key of the descriptor. |
|---|
Returns an Array of String descriptors mapped by the
specified key.
| key | the key of the descriptor. |
|---|
Returns whether a String descriptor exists for the specified key.
| key | The key of the descriptor. |
|---|
true if the key has a string descriptor; otherwise false.