public interface ConfigFile
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ConfigFileChangeListener listener)
Add change listener to this config file instance.
|
ConfigFileFormat |
getConfigFileFormat()
Get the file format of this config file instance
|
String |
getContent()
Get file content of the namespace
|
String |
getNamespace()
Get the namespace of this config file instance
|
boolean |
hasContent()
Whether the config file has any content
|
String getContent()
null if there is no contentboolean hasContent()
String getNamespace()
ConfigFileFormat getConfigFileFormat()
void addChangeListener(ConfigFileChangeListener listener)
listener - the config file change listenerCopyright © 2018 Ctrip, Inc.. All rights reserved.