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