public class AutoResources extends AbstractProfileName implements Resources
| 构造器和说明 |
|---|
AutoResources(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
Boolean |
getBooleanValue(String key) |
Character |
getCharValue(String key) |
Map<Object,Object> |
getConfig() |
Double |
getDoubleValue(String key) |
Float |
getFloatValue(String key) |
Integer |
getIntegerValue(String key) |
Map<Object,Object> |
getResources()
读取所有资源
|
String |
getValue(String key) |
void |
writeLocalProperties()
将资源写入本地属性中
|
getPrefixName, getProfileName, getSourceName, getSuffixName, isClassFileconvertpublic AutoResources(String name) throws IOException
IOExceptionpublic Map<Object,Object> getResources()
ResourcesgetResources 在接口中 Resourcespublic void writeLocalProperties()
ResourceswriteLocalProperties 在接口中 Resourcespublic 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.