info.magnolia.cms.i18n
Class EmptyMessages
java.lang.Object
info.magnolia.cms.i18n.AbstractMessagesImpl
info.magnolia.cms.i18n.EmptyMessages
- All Implemented Interfaces:
- Messages
public class EmptyMessages
- extends AbstractMessagesImpl
A null-pattern implementation of the messages interface.
EmptyMessages
public EmptyMessages()
get
public String get(String key)
- Description copied from interface:
Messages
- Get the message from the bundle.
- Parameters:
key
- the key
- Returns:
- the message
keys
public Iterator<String> keys()
- Description copied from interface:
Messages
- Iterate over the keys.
reload
public void reload()
throws Exception
- Description copied from interface:
Messages
- Reload the messages.
- Throws:
Exception
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.