public final class SelfConfig extends AbstractConfig implements Config
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
static Config |
get()
读取配置
|
Boolean |
getBooleanValue(String key) |
Character |
getCharValue(String key) |
Map<Object,Object> |
getConfig() |
Double |
getDoubleValue(String key) |
Float |
getFloatValue(String key) |
Integer |
getIntegerValue(String key) |
String |
getValue(String key) |
void |
put(Object key,
Object value) |
void |
putAll(Map<Object,Object> config) |
static Config |
set()
重新加载一次配置
|
static Config |
set(Map<Object,Object> config)
设置默认配置
|
static Config |
set(Resources resources)
设置默认配置
|
getResourcespublic static Config get()
public static Config set()
public Boolean getBooleanValue(String key)
getBooleanValue 在接口中 Configpublic Integer getIntegerValue(String key)
getIntegerValue 在接口中 Configpublic Float getFloatValue(String key)
getFloatValue 在接口中 Configpublic Double getDoubleValue(String key)
getDoubleValue 在接口中 Configpublic Character getCharValue(String key)
getCharValue 在接口中 ConfigCopyright © 2018. All rights reserved.