|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.i18n.AbstractMessagesImpl info.magnolia.cms.i18n.MessagesChain
public class MessagesChain
Chains messages.
Field Summary |
---|
Fields inherited from class info.magnolia.cms.i18n.AbstractMessagesImpl |
---|
basename, bundle, JS_OBJECTNAME, locale, log |
Constructor Summary | |
---|---|
MessagesChain(Messages head)
Create a chain passing the wrapped head of the chain. |
Method Summary | |
---|---|
MessagesChain |
chain(Messages messages)
Append messages to the chain. |
String |
get(String key)
Get the string searching in the chain. |
Iterator<String> |
keys()
Return all keys contained in this chain. |
void |
reload()
Reload the chain. |
Methods inherited from class info.magnolia.cms.i18n.AbstractMessagesImpl |
---|
equals, get, getBasename, getLocale, getWithDefault, getWithDefault, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessagesChain(Messages head)
Method Detail |
---|
public MessagesChain chain(Messages messages)
public String get(String key)
key
- the key
public Iterator<String> keys()
public void reload() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |