| 程序包 | 说明 |
|---|---|
| com.github.houbb.property.bs |
| 限定符和类型 | 方法和说明 |
|---|---|
PropertyBs |
PropertyBs.charset(String charset)
设置文件编码集
|
PropertyBs |
PropertyBs.flush()
刷新内存中的值到磁盘中
|
PropertyBs |
PropertyBs.flush(String path)
刷新内存中的值到磁盘中
|
static PropertyBs |
PropertyBs.getInstance()
获取默认内置实例信息
|
static PropertyBs |
PropertyBs.getInstance(String propertyPath)
获取实例
(1)如果已很创建,则直接返回
(2)如果不存在,则创建,并且执行一次文件信息加载。
|
PropertyBs |
PropertyBs.remove(String key)
移除对应的值
|
PropertyBs |
PropertyBs.set(Map<String,String> map)
设置 map 的信息到 property 中
|
PropertyBs |
PropertyBs.set(Object bean)
设置 bean 的信息到 property 中
|
PropertyBs |
PropertyBs.set(String key,
String value)
设置对应的值
1.
|
Copyright © 2021. All rights reserved.