public abstract class AbstractJSONLoader extends java.lang.Object implements Loadable
JSON 配置文件抽象加载器
JSON resources loader
Email: fishinlove@163.com
created by 2019/04/22 15:29:40
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractJSONLoader(java.lang.String jsonString)
使用一个符合 JSON 规范的字符串来初始化这个加载器
Use a standard JSON string to initialize this loader
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
load()
加载资源,主要是配置文件
返回一个 Map 集合,键值就是 key,而 value 就是键值对应的属性值
Load resources
Return a Map Collection, the key is the key, and the value is the attribute of the key
|
protected AbstractJSONLoader(java.lang.String jsonString)
使用一个符合 JSON 规范的字符串来初始化这个加载器
Use a standard JSON string to initialize this loader
jsonString - JSON 字符串
The json string
public java.util.Map<java.lang.String,java.lang.String> load()
throws java.io.IOException
Loadable加载资源,主要是配置文件
返回一个 Map 集合,键值就是 key,而 value 就是键值对应的属性值
Load resources
Return a Map Collection, the key is the key, and the value is the attribute of the key
Copyright © 2019. All Rights Reserved.