Package org.duracloud.common.util
Class ApplicationConfig
- java.lang.Object
-
- org.duracloud.common.util.ApplicationConfig
-
- Direct Known Subclasses:
ExceptionMessages
public class ApplicationConfig extends Object
- Author:
- Andrew Woods
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplicationConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiesgetPropsFromResource(String resourceName)static PropertiesgetPropsFromXml(String propsXml)static PropertiesgetPropsFromXmlResource(String resourceName)static PropertiesgetPropsFromXmlStream(InputStream propsXmlStream)static StringgetXmlFromProps(Properties props)
-
-
-
Method Detail
-
getPropsFromResource
public static Properties getPropsFromResource(String resourceName)
-
getPropsFromXml
public static Properties getPropsFromXml(String propsXml)
-
getPropsFromXmlStream
public static Properties getPropsFromXmlStream(InputStream propsXmlStream)
-
getPropsFromXmlResource
public static Properties getPropsFromXmlResource(String resourceName)
-
getXmlFromProps
public static String getXmlFromProps(Properties props)
-
-