Class YamlUtils


  • public class YamlUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      YamlUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.LinkedHashMap readAllYaml​(java.lang.String filePath)  
      static java.util.LinkedHashMap readAllYaml​(java.lang.String filePath, java.lang.String keyName, java.lang.String valueName)  
      static java.util.LinkedHashMap readAllYamlInDirectory​(java.lang.String directory)  
      static java.util.LinkedHashMap readYaml​(java.lang.String filePath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • YamlUtils

        public YamlUtils()
    • Method Detail

      • readYaml

        public static java.util.LinkedHashMap readYaml​(java.lang.String filePath)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readAllYaml

        public static java.util.LinkedHashMap readAllYaml​(java.lang.String filePath)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readAllYaml

        public static java.util.LinkedHashMap readAllYaml​(java.lang.String filePath,
                                                          java.lang.String keyName,
                                                          java.lang.String valueName)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readAllYamlInDirectory

        public static java.util.LinkedHashMap readAllYamlInDirectory​(java.lang.String directory)
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception