|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to translatable texts.
Type Classification:
This interface is part of the Web Dynpro API, so applications may reference it or call any method of it, but they must not implement or extend it.
For a detailed explanation of API classification see the Web Dynpro Compatibility Guide| Method Summary | |
boolean |
contains(String key)
Returns true, iff there is a localized text for the given key. |
String |
getText(IWDMessage message)
Returns a localized text for the given message. |
String |
getText(IWDMessage message,
Object[] parameters)
Returns a formatted text whose localized text is determined by the given message, parameterized by the given parameters. |
String |
getText(String key)
Returns a localized text for the given key. |
String |
getText(String key,
Object[] parameters)
Returns a formatted text whose localized text is determined by the given key, parameterized by the given parameters. |
| Method Detail |
public 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 String getText(IWDMessage message,
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 parameters
public String getText(String key)
key - the key of the localized text
public String getText(String key,
Object[] parameters)
key - the key of the localized textparameters - object array of parameters
public boolean contains(String key)
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||