@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorResourceBundle
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
composeMessage(java.lang.String descriptionWithEditorVariables)
Compose a message for the given description which may contain more than one keys referenced using editor variables.
|
java.lang.String |
getMessage(java.lang.String key)
Gets a message for the given key from this resource bundle.
|
java.lang.String getMessage(java.lang.String key)
key - The key for the desired stringjava.lang.NullPointerException - if key is nulljava.lang.String composeMessage(java.lang.String descriptionWithEditorVariables)
descriptionWithEditorVariables - the key for the desired string.
Example:
The description: '${i18n(key1)} and ${i18n(key2)}' will be composed to:
'value1 and value2' where 'value1' is obtained by calling getMessage('key1').java.lang.NullPointerException - if descriptionWithEditorVariables is null© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.