Package org.brijframework.util.resouces
Class YamlUtil
- java.lang.Object
-
- org.brijframework.util.resouces.YamlUtil
-
public class YamlUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description YamlUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiesgetEnvProperties(File file)static PropertiesgetEnvProperties(String yml)static HashMap<String,Object>getHashMap(File file)static HashMap<String,Object>getHashMap(InputStream in)static HashMap<String,Object>getHashMap(String yml)static <T> TgetObjectMap(Class<?> cls, InputStream in)static <T> TgetObjectMap(Class<?> cls, String yml)static PropertiesgetProperties(File file)static PropertiesgetProperties(InputStream in)
-
-
-
Method Detail
-
getEnvProperties
public static Properties getEnvProperties(File file)
-
getEnvProperties
public static Properties getEnvProperties(String yml)
-
getProperties
public static Properties getProperties(File file)
-
getProperties
public static Properties getProperties(InputStream in)
-
getHashMap
public static HashMap<String,Object> getHashMap(InputStream in)
-
getObjectMap
public static <T> T getObjectMap(Class<?> cls, InputStream in)
-
-