de.snailshell.struts
Class MessageResourcesFactory
java.lang.Object
org.apache.struts.util.MessageResourcesFactory
de.snailshell.struts.MessageResourcesFactory
- All Implemented Interfaces:
- java.io.Serializable
public class MessageResourcesFactory
- extends org.apache.struts.util.MessageResourcesFactory
This Struts 1.2 MessageResourcesFactory is a replacement for the default
PropertyMessageResourcesFactory. It creates a MessageResources instance that
can exclude certain keys from localization and return the key string instead.
Active it in your struts-config.xml as follows:
<message-resources factory="de.snailshell.struts.MessageResourcesFactory" parameter="MyResources" null="false" />
This software comes "as is" without any warranties. Use it at your own risk!
- Version:
- 2007-07-24
- Author:
- Thomas Much
- See Also:
MessageResources
,
Serialized Form
Fields inherited from class org.apache.struts.util.MessageResourcesFactory |
clazz, config, factoryClass, returnNull |
Method Summary |
org.apache.struts.util.MessageResources |
createResources(java.lang.String config)
|
Methods inherited from class org.apache.struts.util.MessageResourcesFactory |
createFactory, getConfig, getFactoryClass, getReturnNull, setConfig, setFactoryClass, setReturnNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageResourcesFactory
public MessageResourcesFactory()
createResources
public org.apache.struts.util.MessageResources createResources(java.lang.String config)
- Specified by:
createResources
in class org.apache.struts.util.MessageResourcesFactory