Yaml yaml = new Yaml();
File ymlFile = new File(this.getClass().getResource("/test.yml").getPath());
if (ymlFile != null && ymlFile.exists()) {
Map map = (Map) yaml.load(new FileInputStream(ymlFile));
}
yaml文件转map
最新推荐文章于 2023-03-31 14:41:06 发布
由于未提供博客具体内容,无法生成包含关键信息的摘要。

8564

被折叠的 条评论
为什么被折叠?



