public class PropertiesConfigFile extends AbstractConfigFile
| 构造器和说明 |
|---|
PropertiesConfigFile(String namespace,
ConfigRepository configRepository) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigFileFormat |
getConfigFileFormat()
Get the file format of this config file instance
|
String |
getContent()
Get file content of the namespace
|
boolean |
hasContent()
Whether the config file has any content
|
addChangeListener, getNamespace, getSourceType, onRepositoryChange, removeChangeListenerpublic PropertiesConfigFile(String namespace, ConfigRepository configRepository)
public String getContent()
ConfigFilenull if there is no contentpublic boolean hasContent()
ConfigFilepublic ConfigFileFormat getConfigFileFormat()
ConfigFileCopyright © 2019 Ctrip, Inc.. All rights reserved.