public class PropertiesUtils extends Object
Constructor and Description |
---|
PropertiesUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
set(Object instance,
String propertyName,
String kvs)
Attempts to parse and then set the provided kvs String into the
appropriate set method on the provided instance.
|
public static void set(Object instance, String propertyName, String kvs)
instance
- An JavaBean instancepropertyName
- The configuration name that is being set into instance. This
is only used for informational purposes.kvs
- A String of key=value comma delimited ie: k1=v1,k2=v2,...ConversionException
- if unable to process the provided kvsCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.