public class DefaultConfigManager extends Object implements ConfigManager
| Constructor and Description |
|---|
DefaultConfigManager() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ConfigManagernamespace - the namespacepublic ConfigFile getConfigFile(String namespace, ConfigFileFormat configFileFormat)
ConfigManagergetConfigFile in interface ConfigManagernamespace - the namespaceconfigFileFormat - the config file formatCopyright © 2022 Ctrip, Inc.. All rights reserved.