Class YamlUtils
java.lang.Object
io.gitbub.devlibx.easy.helper.yaml.YamlUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TRead YAM file and convert to an objectstatic <T> TreadYamlCamelCase(String file, Class<T> cls) Read YAM file (Camel Case) and convert to a objectstatic <T> TreadYamlFromCamelCaseString(String content, Class<T> cls) Read YAM content (Camel Case) and convert to an objectstatic <T> TreadYamlFromResourcePath(String file, Class<T> cls) Read file from resources pathstatic <T> TreadYamlFromString(String content, Class<T> cls) Read YAM content and convert to an object
-
Constructor Details
-
YamlUtils
public YamlUtils()
-
-
Method Details
-
readYamlFromString
Read YAM content and convert to an object -
readYamlFromCamelCaseString
Read YAM content (Camel Case) and convert to an object -
readYamlCamelCase
Read YAM file (Camel Case) and convert to a object -
readYaml
Read YAM file and convert to an object -
readYamlFromResourcePath
Read file from resources path- Parameters:
file- file coming from "resources" dir
-