public class PropertiesConfigFile extends AbstractConfigFile
| Constructor and Description |
|---|
PropertiesConfigFile(String namespace,
ConfigRepository configRepository) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2022 Ctrip, Inc.. All rights reserved.