Class ConfigurationUtils


  • public abstract class ConfigurationUtils
    extends java.lang.Object
    Helper class to deal with String values.
    Author:
    mvrueden
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Boolean getBoolean​(java.util.Map<java.lang.String,​java.lang.Object> properties, java.lang.String key, java.lang.Boolean defaultValue)  
      static java.lang.Integer getInteger​(java.util.Map<java.lang.String,​java.lang.Object> properties, java.lang.String key, java.lang.Integer defaultValue)  
      static <T> T getValue​(java.util.Map<java.lang.String,​java.lang.Object> properties, java.lang.String key, T defaultValue)  
      • Methods inherited from class java.lang.Object

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

      • PROVIDE_A_VALUE_TEXT

        public static final java.lang.String PROVIDE_A_VALUE_TEXT
        See Also:
        Constant Field Values
      • URL_NOT_VALID_TEMPLATE

        public static final java.lang.String URL_NOT_VALID_TEMPLATE
        See Also:
        Constant Field Values
    • Method Detail

      • getValue

        public static <T> T getValue​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                     java.lang.String key,
                                     T defaultValue)
      • getBoolean

        public static java.lang.Boolean getBoolean​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                   java.lang.String key,
                                                   java.lang.Boolean defaultValue)
      • getInteger

        public static java.lang.Integer getInteger​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                   java.lang.String key,
                                                   java.lang.Integer defaultValue)