info.magnolia.cms.i18n
Class DefaultMessagesImpl
java.lang.Object
info.magnolia.cms.i18n.AbstractMessagesImpl
info.magnolia.cms.i18n.DefaultMessagesImpl
- All Implemented Interfaces:
- Messages
public class DefaultMessagesImpl
- extends AbstractMessagesImpl
Loads the message from properties files accessed as classpath resources.
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
- Author:
- Philipp Bracher
DefaultMessagesImpl
protected DefaultMessagesImpl(String basename,
Locale locale)
get
public String get(String key)
- Get the message from the bundle.
- Parameters:
key
- the key
- Returns:
- message
getBundle
protected ResourceBundle getBundle()
- Returns the bundle for the current basename.
reload
public void reload()
throws Exception
- Description copied from interface:
Messages
- Reload the messages.
- Throws:
Exception
keys
public Iterator keys()
- Iterate over the keys.
- Returns:
- iterator
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.