| 程序包 | 说明 |
|---|---|
| com.github.houbb.property.core | |
| com.github.houbb.property.core.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
IProperty |
IProperty.flush(OutputStream outputStream,
String charset)
向指定路径刷新文件信息
(1)允许多次执行
(2)允许指定不同的文件信息
|
IProperty |
IProperty.load(InputStream inputStream,
String charset)
从指定路径加载文件信息
(1)允许多次执行
(2)允许指定不同的文件信息
|
IProperty |
IProperty.putAttr(Map<String,String> map)
设置一个 map 属性
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PropertyAdaptor
属性接口适配器
|
class |
SimpleProperty
属性接口适配器
(1) 学习 Jdk
Properties 属性工具类
(2) 改进 AttributeContext 提供 protected 级别方法,便于拓展。 |
| 限定符和类型 | 方法和说明 |
|---|---|
IProperty |
SimpleProperty.flush(OutputStream outputStream,
String charset) |
IProperty |
PropertyAdaptor.flush(OutputStream outputStream,
String charset) |
IProperty |
SimpleProperty.load(InputStream inputStream,
String charset) |
IProperty |
PropertyAdaptor.load(InputStream inputStream,
String charset) |
IProperty |
SimpleProperty.putAttr(Map<String,String> map) |
IProperty |
PropertyAdaptor.putAttr(Map<String,String> map) |
Copyright © 2021. All rights reserved.