public class DefaultConfigFactory extends Object implements ConfigFactory
| Constructor and Description |
|---|
DefaultConfigFactory() |
| Modifier and Type | Method and Description |
|---|---|
Config |
create(String namespace)
Create the config instance for the namespace.
|
ConfigFile |
createConfigFile(String namespace,
ConfigFileFormat configFileFormat)
Create the config file instance for the namespace
|
public Config create(String namespace)
ConfigFactorycreate in interface ConfigFactorynamespace - the namespacepublic ConfigFile createConfigFile(String namespace, ConfigFileFormat configFileFormat)
ConfigFactorycreateConfigFile in interface ConfigFactorynamespace - the namespaceCopyright © 2022 Ctrip, Inc.. All rights reserved.