public final class ToStringHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
nameValuePair(Object name,
Object value)
This method formats name value pairs into the proper string format.
|
static String |
pojoClassToString(PojoClass pojoClass,
Object instance)
This method takes an object instance for a pojoClass and flattens it into a properly formatted string.
|
public static String nameValuePair(Object name, Object value)
name - The name to format.value - The value to format.public static String pojoClassToString(PojoClass pojoClass, Object instance)
pojoClass - The meta representation of the instance class.instance - The instance to format.Copyright © 2010–2019. All rights reserved.