支持部分配置在运行时动态改变

This commit is contained in:
陈精华
2019-04-11 14:45:22 +08:00
committed by kl
parent bf08c2c26f
commit 5af3a97720
7 changed files with 129 additions and 10 deletions

View File

@@ -0,0 +1,38 @@
package cn.keking.config;
/**
* @auther: chenjh
* @time: 2019/4/10 17:22
* @description
*/
public class ConfigConstants {
private static String[] simText = {};
private static String[] media = {};
private static String convertedFileCharset;
public static String[] getSimText() {
return simText;
}
public static void setSimText(String[] simText) {
ConfigConstants.simText = simText;
}
public static String[] getMedia() {
return media;
}
public static void setMedia(String[] media) {
ConfigConstants.media = media;
}
public static String getConvertedFileCharset() {
return convertedFileCharset;
}
public static void setConvertedFileCharset(String convertedFileCharset) {
ConfigConstants.convertedFileCharset = convertedFileCharset;
}
}