⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multimessageresourcesfactory.java

📁 一个关于tlms的一个小程序 看看能否帮助到别人
💻 JAVA
字号:
/*
 * =========================================================================
 *  Program Name: com.szmx.util.MultiMessageResourcesFactory
 *
 *  Copyright 2005-2006 szmx Pte. Ltd. All Rights Reserved
 *
 *  This software is confidential and proprietary to szmx Pte. Ltd. You shall
 *  use this software only in accordance with the terms of the license
 *  agreement you entered into with szmx.  No aspect or part or all of this
 *  software may be reproduced, modified or disclosed without full and
 *  direct written authorisation from szmx.
 *
 *  szmx SUPPLIES THIS SOFTWARE ON AN 揂S IS?BASIS. szmx MAKES NO
 *  REPRESENTATIONS OR WARRANTIES, EITHER EXPRESSLY OR IMPLIEDLY, ABOUT THE
 *  SUITABILITY OR NON-INFRINGEMENT OF THE SOFTWARE. szmx SHALL NOT BE LIABLE
 *  FOR ANY LOSSES OR DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
 *  MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
 *
 *  Change Revision
 * -------------------------------------------------------------------------
 *  Version    Remarks
 *  v1.0      - Initial Release
 *
 * =========================================================================
 */
package com.szmx.framework.util;

import org.apache.struts.util.MessageResources;
import org.apache.struts.util.MessageResourcesFactory;

/**
 * Factory for <code>MultiPropertyMessageResources</code> instances. The
 * configuration parameter for such instances is the base Java package
 * name of the resources entries from which our keys and values will be
 * loaded. Multiple resource entries are comma-separated.
 *
 *
 * @since 01/06/2005
 */
public class MultiMessageResourcesFactory extends MessageResourcesFactory{
    /**
     * @see org.apache.struts.util.MessageResourcesFactory#createResources(java.lang.String)
     */
    public MessageResources createResources(String config)
    {
        return new MultiMessageResources(this, config, this.returnNull);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -