| 程序包 | 说明 |
|---|---|
| xyz.migoo.mise.loader | |
| xyz.migoo.mise.loader.reader |
| 限定符和类型 | 方法和说明 |
|---|---|
static com.alibaba.fastjson.JSONObject |
TestLoader.load(String object) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
YamlReader.get(String key) |
String |
Reader.get(String key)
从 JSON 对象中取出 key 对应的 value
|
static Reader |
ReaderFactory.getReader(String path) |
com.alibaba.fastjson.JSON |
YamlReader.read() |
com.alibaba.fastjson.JSON |
Reader.read()
读文件
|
protected void |
AbstractReader.stream(String suffix,
File file) |
protected void |
AbstractReader.stream(String suffix,
String path) |
protected void |
AbstractReader.validation(File file,
String suffix)
文件合法性检查,传入的文件路径不能为 null "" 文件夹
|
| 构造器和说明 |
|---|
YamlReader(File file) |
YamlReader(String path) |
Copyright © 2019. All rights reserved.