public interface MessageSource
A message source is simply a key/value repository.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey(java.lang.String key)
Return a message matching a given key
|
java.lang.String getKey(java.lang.String key)
Note that this method MUST return null
if there is no match
for the given key.
Note also that it is guaranteed that you will never get a null key.
key
- the key