📄 butormessageresourcesfactory.java
字号:
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file. */package org.butor.web.helper;import org.apache.struts.util.MessageResources;import org.apache.struts.util.MessageResourcesFactory;/** * Factory for <code>ButorMessageResources</code> instances. The * configuration paramter for such instances is the absolute directory name * where to find bundles properties files. * * @author Aiman SAWAN */public class ButorMessageResourcesFactory extends MessageResourcesFactory { /** * Create and return a newly instansiated <code>MessageResources</code>. * This method must be implemented by concrete subclasses. * * @param config Configuration parameter. * configuration paramter is the relative directory name * where to find bundles properties files. */ public MessageResources createResources(String config) { return new ButorMessageResources(this, config, this.returnNull); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -