public class YamlUtils extends Object
| Constructor and Description |
|---|
YamlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static LinkedHashMap<String,Object> |
loadYaml2Map(org.springframework.core.io.Resource path)
读取 yaml 文件,转化为 Map
|
public static LinkedHashMap<String,Object> loadYaml2Map(org.springframework.core.io.Resource path)
path - yaml 文件路径Copyright © 2018–2019. All rights reserved.