org.slim3.struts.util
Class S3PropertyMessageResources
java.lang.Object
org.apache.struts.util.MessageResources
org.slim3.struts.util.S3PropertyMessageResources
- All Implemented Interfaces:
- Serializable, Disposable
public class S3PropertyMessageResources
- extends MessageResources
- implements Disposable
MessageResources
for Slim3.
- Since:
- 3.0
- Author:
- higa
- See Also:
- Serialized Form
Field Summary |
protected boolean |
initialized
Whether this object is initialized. |
Methods inherited from class org.apache.struts.util.MessageResources |
escape, getConfig, getFactory, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessageResources, getReturnNull, isEscape, isPresent, isPresent, localeKey, log, log, messageKey, messageKey, setEscape, setReturnNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialized
protected volatile boolean initialized
- Whether this object is initialized.
S3PropertyMessageResources
public S3PropertyMessageResources(MessageResourcesFactory factory,
String config)
- Constructor.
- Parameters:
factory
- the message resources factoryconfig
- the path of configuration file
getMessage
public String getMessage(Locale locale,
String key)
- Specified by:
getMessage
in class MessageResources
initialize
public void initialize()
- Initializes this object.
dispose
public void dispose()
- Description copied from interface:
Disposable
- Disposes resource.
- Specified by:
dispose
in interface Disposable
Copyright © 2008-2009 The Slim3 project. All Rights Reserved.