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