public class Message extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
catalogue
What catalogue this key is to be found in.
|
protected String |
key
The key to look up in the catalogue.
|
| Constructor and Description |
|---|
Message(String catalogue,
String key)
Create a new translatable element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogue() |
Object[] |
getDictionaryParameters()
Return any dictionary parameters that are used by this
translation message.
|
String |
getKey() |
Message |
parameterize(Object... dictionaryParameters)
Parameterize this translate key by specifying
dictionary parameters.
|
protected final String catalogue
protected final String key
public String getCatalogue()
public String getKey()
public Message parameterize(Object... dictionaryParameters)
dictionaryParameters - The dictionary parameterspublic Object[] getDictionaryParameters()
Copyright © 2016 DuraSpace. All Rights Reserved.