|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to translatable texts.
| Method Summary | |
java.lang.String |
getText(IWDMessage message)
Returns a localized text for the given message. |
java.lang.String |
getText(IWDMessage message,
java.lang.Object[] parameters)
Returns a formatted text whose localized text is determined by the given message, parameterized by the given parameters. |
java.lang.String |
getText(java.lang.String key)
Returns a localized text for the given key. |
java.lang.String |
getText(java.lang.String key,
java.lang.Object[] parameters)
Returns a formatted text whose localized text is determined by the given key, parameterized by the given parameters. |
| Method Detail |
public java.lang.String getText(IWDMessage message)
message.
If no message text is available it is searched for the localized message
text for the message's key.
If a text is found for the key, this text is returned.
If neither a message text nor a valid message key is available,
the message key is returned. This may also be null!message - message for which a localized text is returned
public java.lang.String getText(IWDMessage message,
java.lang.Object[] parameters)
message.
If no message text is available it is searched for the localized message
text for the message's key.
If a text is found for the key, this text is returned.
If neither a message text nor a valid message key is available, the
message key is returned. This may also be null!message - message for which a localized text is returnedparameters - object array of parameterspublic java.lang.String getText(java.lang.String key)
key - the key of the localized text
public java.lang.String getText(java.lang.String key,
java.lang.Object[] parameters)
key - the key of the localized textparameters - object array of parameters
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||