jinpengyong
2020-12-16 0d667ba939460c3dc6cdb0c974841bd0be5dc432
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.moral.common.util;
 
import java.util.ResourceBundle;
 
/**
 * Created by a on 2017/7/4.
 */
public class ResourceUtil {
    private static final ResourceBundle bundle = ResourceBundle.getBundle("system/sysConfig");
 
    public static String getValue(String key){
        return bundle.getString(key);
    }
 
    public static String[] getArrValue(String key){
        String string = bundle.getString(key);
        return string.split(",");
    }
 
}