public class ConfigService extends Object
| 构造器和说明 |
|---|
ConfigService() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Config |
getAppConfig()
Get Application's config instance.
|
static Config |
getConfig(String namespace)
Get the config instance for the namespace.
|
static ConfigFile |
getConfigFile(String namespace,
ConfigFileFormat configFileFormat) |
public static Config getAppConfig()
public static Config getConfig(String namespace)
namespace - the namespace of the configpublic static ConfigFile getConfigFile(String namespace, ConfigFileFormat configFileFormat)
Copyright © 2019 Ctrip, Inc.. All rights reserved.