public class YamlFileLoader extends Object
Constructor and Description |
---|
YamlFileLoader(org.yaml.snakeyaml.Yaml yaml,
org.reflections.Reflections reflections,
ResourceStreamProvider resourceStreamProvider) |
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
loadYamlFiles(List<String> paths)
Loads all .yml files from a list of paths and converts each file to a Map
|
static YamlFileLoader |
standard() |
public YamlFileLoader(org.yaml.snakeyaml.Yaml yaml, org.reflections.Reflections reflections, ResourceStreamProvider resourceStreamProvider)
public static YamlFileLoader standard()
Copyright © 2020. All rights reserved.