kaiyu
2020-11-16 8a16116027464d17e800cd070d256aff59350b7d
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(",");
    }
 
}