protected void applyProperty(String key, String value, Map objects) { int index = key.indexOf('.'); if (index >= 0) { String name = key.substring(0, index); String property = key.substring(index + 1, key.length()); if (GLOBAL_PROPERTY_PREFIX.equalsIgnoreCase(name)) { applyGlobalProperty(objects, property, value); } else { applySingleProperty(objects, name, property, value); } } else { throw new IllegalArgumentException("All property keys must contain a '.' character. " + "(e.g. myBean.property = value) These should already be separated out by buildObjects()."); } }
protected void applyProperty(String key, String value, Map objects) { int index = key.indexOf('.'); if (index >= 0) { String name = key.substring(0, index); String property = key.substring(index + 1, key.length()); if (GLOBAL_PROPERTY_PREFIX.equalsIgnoreCase(name)) { applyGlobalProperty(objects, property, value); } else { applySingleProperty(objects, name, property, value); } } else { throw new IllegalArgumentException("All property keys must contain a '.' character. " + "(e.g. myBean.property = value) These should already be separated out by buildObjects()."); } }
protected void applyProperty(String key, String value, Map objects) { int index = key.indexOf('.'); if (index >= 0) { String name = key.substring(0, index); String property = key.substring(index + 1, key.length()); if (GLOBAL_PROPERTY_PREFIX.equalsIgnoreCase(name)) { applyGlobalProperty(objects, property, value); } else { applySingleProperty(objects, name, property, value); } } else { throw new IllegalArgumentException("All property keys must contain a '.' character. " + "(e.g. myBean.property = value) These should already be separated out by buildObjects()."); } }