/** * Adds a <code>ConfigMap</code> value to this map for the given property * name. * * @param name the property name * @param value the property value */ public void addProperty(String name, ConfigMap value) { addPropertyLogic(name, value); }
/** * Adds a <code>ConfigMap</code> value to this map for the given property * name. * * @param name the property name * @param value the property value */ public void addProperty(String name, ConfigMap value) { addPropertyLogic(name, value); }
/** * Adds a <code>ConfigMap</code> value to this map for the given property * name. * * @param name the property name * @param value the property value */ public void addProperty(String name, ConfigMap value) { addPropertyLogic(name, value); }
/** * Adds a <code>String</code> value to this map for the given property * name. * * @param name the property name * @param value the property value */ public void addProperty(String name, String value) { addPropertyLogic(name, TRIM_CONFIG_PROPERTY_VALUES && value != null ? value.trim() : value); }
/** * Adds a <code>String</code> value to this map for the given property * name. * * @param name the property name * @param value the property value */ public void addProperty(String name, String value) { addPropertyLogic(name, TRIM_CONFIG_PROPERTY_VALUES && value != null ? value.trim() : value); }
/** * Adds a <code>String</code> value to this map for the given property * name. * * @param name the property name * @param value the property value */ public void addProperty(String name, String value) { addPropertyLogic(name, TRIM_CONFIG_PROPERTY_VALUES && value != null ? value.trim() : value); }
/** * Adds all properties from a map to this map. * * @param p a <code>ConfigMap</code> whose properties are to be added to * this <code>ConfigMap</code>. */ public void addProperties(ConfigMap p) { Iterator it = p.entrySet().iterator(); while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); Object key = entry.getKey(); Object value = entry.getValue(); if (value instanceof ValueList) { addProperties(key, (ValueList) value); } else { addPropertyLogic(key, value); } } }
/** * Adds all properties from a map to this map. * * @param p a <code>ConfigMap</code> whose properties are to be added to * this <code>ConfigMap</code>. */ public void addProperties(ConfigMap p) { Iterator it = p.entrySet().iterator(); while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); Object key = entry.getKey(); Object value = entry.getValue(); if (value instanceof ValueList) { addProperties(key, (ValueList) value); } else { addPropertyLogic(key, value); } } }
/** * Adds all properties from a map to this map. * * @param p a <code>ConfigMap</code> whose properties are to be added to * this <code>ConfigMap</code>. */ public void addProperties(ConfigMap p) { Iterator it = p.entrySet().iterator(); while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); Object key = entry.getKey(); Object value = entry.getValue(); if (value instanceof ValueList) { addProperties(key, (ValueList) value); } else { addPropertyLogic(key, value); } } }