| 程序包 | 说明 |
|---|---|
| net.hasor.cobble.setting |
标准的
接口实现. |
| net.hasor.cobble.setting.data | |
| net.hasor.cobble.setting.provider | |
| net.hasor.cobble.setting.provider.properties |
properties parsing support for Settings.
|
| net.hasor.cobble.setting.provider.xml |
Xml parsing support for Settings.
|
| net.hasor.cobble.setting.provider.yaml |
Yaml parsing support for Settings.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
IOSettings
需要经过解析读取配置文件资源的
Settings |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractSettings
Settings接口的抽象实现。
|
class |
BasicSettings
Settings接口的抽象实现。
|
class |
DefaultSettings
继承自
MergedSettings父类。 |
class |
MergedSettings
传入
InputStream的方式获取Settings接口的支持。 |
class |
SettingsWrap
Settings接口的抽象实现。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Settings |
SettingsWrap.getSettings() |
Settings |
SettingsWrap.getSettings(String namespace) |
Settings |
Settings.getSettings(String namespace)
获取指在某个特定命名空间下的Settings接口对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SettingNode.update(UpdateValue updateValue,
Settings context) |
| 构造器和说明 |
|---|
SettingsWrap(Settings settings) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
UpdateValue.update(DataNode dataNode,
Settings context) |
void |
TreeNode.update(UpdateValue updateValue,
Settings context) |
void |
DataNode.update(UpdateValue updateValue,
Settings context) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SettingsReader.readSetting(Reader reader,
Settings readTo) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
PropertiesSettingsReader.loadProperties(Settings readTo,
Properties properties) |
void |
PropertiesSettingsReader.readSetting(Reader reader,
Settings readTo) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XmlSettingsReader.readSetting(Reader reader,
Settings readTo) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
YamlSettingsReader.loadYaml(Settings readTo,
Object yamlConfig) |
void |
YamlSettingsReader.readSetting(Reader reader,
Settings readTo) |
[Web Site]