|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.wcm.common.locale.LocaleMessage
public class LocaleMessage
Message object that holds the key and parameters for delayed locale message resolution.
| Constructor Summary | |
|---|---|
LocaleMessage(java.lang.String bundle, java.lang.String key)Constructor |
|
LocaleMessage(java.lang.String bundle, java.lang.String key, java.lang.Object[] parameters)Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey() |
char |
getMnemonicCharacter()Returns the mnemonic character. |
int |
getMnemonicCharacterIndex()Deprecated. Caution, this can cause exceptions if used in conjunction with getWithoutMnemonic() and Japanese! |
java.lang.Object[] |
getParameters() |
java.lang.String |
getText()Returns the text associated with this message, stripping the 'non-printing' Mnemonic character (the '&'), but leaving the rest of the text. |
java.lang.String |
getText(java.util.Locale locale)Returns the text associated with this message, stripping the 'non-printing' Mnemonic character (the '&'), but leaving the rest of the text. |
java.lang.String |
getWithoutMnemonic()SPECIAL USE ONLY, Use getText() instead. |
void |
setKey(java.lang.String key) |
void |
setParameters(java.lang.Object[] parameters) |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleMessage(java.lang.String bundle,
java.lang.String key,
java.lang.Object[] parameters)
key - the message keyparameters - the parameters
public LocaleMessage(java.lang.String bundle,
java.lang.String key)
key - the message key| Method Detail |
|---|
public java.lang.String getKey()
public void setKey(java.lang.String key)
key - the key to setpublic java.lang.Object[] getParameters()
public void setParameters(java.lang.Object[] parameters)
parameters - the parameters to setpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getText()
public java.lang.String getText(java.util.Locale locale)
locale - the locale to use rather that the default localepublic java.lang.String getWithoutMnemonic()
public char getMnemonicCharacter()
public int getMnemonicCharacterIndex()
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||