public class MemoryConfig extends IConfig
DEFAULT_CONFIG| 构造器和说明 |
|---|
MemoryConfig(Properties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getProperty(String name)
Same semantic of Properties
|
String |
getProperty(String name,
String defaultValue)
Same semantic of Properties
|
IResourceLoader |
getResourceLoader() |
void |
setProperty(String name,
String value) |
public MemoryConfig(Properties properties)
public void setProperty(String name, String value)
setProperty 在类中 IConfigpublic String getProperty(String name)
IConfiggetProperty 在类中 IConfigname - property name.public String getProperty(String name, String defaultValue)
IConfiggetProperty 在类中 IConfigname - property name.defaultValue - default value to return in case the property doesn't exists.public IResourceLoader getResourceLoader()
getResourceLoader 在类中 IConfigCopyright © 2021. All rights reserved.