public class YamlConfigFile extends PlainTextConfigFile implements PropertiesCompatibleConfigFile
| Constructor and Description |
|---|
YamlConfigFile(String namespace,
ConfigRepository configRepository) |
| Modifier and Type | Method and Description |
|---|---|
Properties |
asProperties() |
ConfigFileFormat |
getConfigFileFormat()
Get the file format of this config file instance
|
getContent, hasContentaddChangeListener, getNamespace, getSourceType, onRepositoryChange, removeChangeListenerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChangeListener, getContent, getNamespace, getSourceType, hasContent, removeChangeListenerpublic YamlConfigFile(String namespace, ConfigRepository configRepository)
public ConfigFileFormat getConfigFileFormat()
ConfigFilegetConfigFileFormat in interface ConfigFilepublic Properties asProperties()
asProperties in interface PropertiesCompatibleConfigFileCopyright © 2022 Ctrip, Inc.. All rights reserved.