public final class BeanToStringUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formatBeanToString(Object bean,
Class<?> clazz,
String superToString)
Formats the properties of a bean in a toSting representation.
|
static com.saperion.common.lang.format.ToStringParameterPossessor |
getParameterProcessor(Object bean)
Returns the ToStringParameterPossessor for the given bean.
|
public static com.saperion.common.lang.format.ToStringParameterPossessor getParameterProcessor(Object bean)
bean
- the bean to describepublic static String formatBeanToString(Object bean, Class<?> clazz, String superToString)
bean
- the bean instanceclazz
- the bean classsuperToString
- the bean's super toString resultCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.