/** Set the properties of an object passed as a parameter in one go. The <code>properties</code> are parsed relative to a <code>prefix</code>. @param obj The object to configure. @param properties A java.util.Properties containing keys and values. @param prefix Only keys having the specified prefix will be set. */ public static void setProperties(Object obj, Properties properties, String prefix) { new PaxPropertySetter(obj).setProperties(properties, prefix); }
/** Set the properties of an object passed as a parameter in one go. The <code>properties</code> are parsed relative to a <code>prefix</code>. @param obj The object to configure. @param properties A java.util.Properties containing keys and values. @param prefix Only keys having the specified prefix will be set. */ public static void setProperties(Object obj, Properties properties, String prefix) { new PaxPropertySetter(obj).setProperties(properties, prefix); }
prop.getPropertyType(), null); PaxPropertySetter setter = new PaxPropertySetter(opt); setter.setProperties(properties, prefix + key + "."); try {
prop.getPropertyType(), null); PaxPropertySetter setter = new PaxPropertySetter(opt); setter.setProperties(properties, prefix + key + "."); try {