public abstract class PlainTextConfigFile extends AbstractConfigFile
| Constructor and Description |
|---|
PlainTextConfigFile(String namespace,
ConfigRepository configRepository) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Get file content of the namespace
|
boolean |
hasContent()
Whether the config file has any content
|
addChangeListener, getNamespace, getSourceType, onRepositoryChange, removeChangeListenerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigFileFormatpublic PlainTextConfigFile(String namespace, ConfigRepository configRepository)
public String getContent()
ConfigFilenull if there is no contentpublic boolean hasContent()
ConfigFileCopyright © 2022 Ctrip, Inc.. All rights reserved.