public class SimonBeanUtils extends Object
Constructor and Description |
---|
SimonBeanUtils() |
Modifier and Type | Method and Description |
---|---|
static SimonBeanUtils |
getInstance() |
void |
registerConverter(Class<?> targetClass,
Converter converter)
Register converter for a specified class.
|
void |
setProperty(Object target,
String property,
Object value)
Set property in object target.
|
public SimonBeanUtils()
public static SimonBeanUtils getInstance()
public void setProperty(Object target, String property, Object value)
target
- Java bean where a property will be setproperty
- property to be setvalue
- value to be setpublic void registerConverter(Class<?> targetClass, Converter converter)
targetClass
- property type for which a converter will be usedconverter
- converter that will be used to convert String values for a specified target classCopyright © 2019. All rights reserved.