All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jasmine.demo.util.Q Maven / Gradle / Ivy

The newest version!
package jasmine.demo.util;

import jasmine.framework.common.util.I18nUtil;
import jasmine.framework.common.util.NewUtil;

import java.util.List;
import java.util.Map;

/**
 * @author mh.z
 */
public class Q {

    /**
     * 获取多语言
     *
     * @param messageKey
     * @param args
     * @return
     */
    public static String tr(String messageKey, Object... args) {
        return I18nUtil.getMessage(messageKey, args);
    }

    /**
     * 创建 Map 对象
     *
     * @param 
     * @param 
     * @return
     */
    public static  Map map() {
        return NewUtil.map();
    }

    /**
     * 创建 List 对象
     *
     * @param 
     * @return
     */
    public static  List list() {
        return NewUtil.list();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy