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.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
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:
- message
keys
public Iterator<String> keys()
- Description copied from interface:
Messages
- Iterate over the keys.
- Returns:
- iterator
reload
public void reload()
throws Exception
- Description copied from interface:
Messages
- Reload the messages.
- Throws:
Exception
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.