public class DefaultConfigManager extends Object implements ConfigManager
| 构造器和说明 |
|---|
DefaultConfigManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
Config |
getConfig(String namespace)
Get the config instance for the namespace specified.
|
ConfigFile |
getConfigFile(String namespace,
ConfigFileFormat configFileFormat)
Get the config file instance for the namespace specified.
|
public Config getConfig(String namespace)
ConfigManagergetConfig 在接口中 ConfigManagernamespace - the namespacepublic ConfigFile getConfigFile(String namespace, ConfigFileFormat configFileFormat)
ConfigManagergetConfigFile 在接口中 ConfigManagernamespace - the namespaceconfigFileFormat - the config file formatCopyright © 2019 Ctrip, Inc.. All rights reserved.