Package | Description |
---|---|
com.whitestein.lsps.common.hack.lang3.builder |
Modifier and Type | Field and Description |
---|---|
static ToStringStyle |
ToStringStyle.DEFAULT_STYLE
The default toString style.
|
static ToStringStyle |
ToStringStyle.JSON_STYLE
The JSON toString style.
|
static ToStringStyle |
ToStringStyle.MULTI_LINE_STYLE
The multi line toString style.
|
static ToStringStyle |
ToStringStyle.NO_CLASS_NAME_STYLE
The no class name toString style.
|
static ToStringStyle |
ToStringStyle.NO_FIELD_NAMES_STYLE
The no field names toString style.
|
static ToStringStyle |
ToStringStyle.SHORT_PREFIX_STYLE
The short prefix toString style.
|
static ToStringStyle |
ToStringStyle.SIMPLE_STYLE
The simple toString style.
|
Modifier and Type | Method and Description |
---|---|
static ToStringStyle |
ToStringBuilder.getDefaultStyle()
Gets the default
ToStringStyle to use. |
ToStringStyle |
ToStringBuilder.getStyle()
Gets the
ToStringStyle being used. |
Modifier and Type | Method and Description |
---|---|
static String |
ToStringBuilder.reflectionToString(Object object,
ToStringStyle style)
Uses
ReflectionToStringBuilder to generate a
toString for the specified object. |
static String |
ToStringBuilder.reflectionToString(Object object,
ToStringStyle style,
boolean outputTransients)
Uses
ReflectionToStringBuilder to generate a
toString for the specified object. |
static <T> String |
ToStringBuilder.reflectionToString(T object,
ToStringStyle style,
boolean outputTransients,
Class<? super T> reflectUpToClass)
Uses
ReflectionToStringBuilder to generate a
toString for the specified object. |
static void |
ToStringBuilder.setDefaultStyle(ToStringStyle style)
Sets the default
ToStringStyle to use. |
static String |
ReflectionToStringBuilder.toString(Object object,
ToStringStyle style)
Builds a
toString value through reflection. |
static String |
ReflectionToStringBuilder.toString(Object object,
ToStringStyle style,
boolean outputTransients)
Builds a
toString value through reflection. |
static String |
ReflectionToStringBuilder.toString(Object object,
ToStringStyle style,
boolean outputTransients,
boolean outputStatics)
Builds a
toString value through reflection. |
static <T> String |
ReflectionToStringBuilder.toString(T object,
ToStringStyle style,
boolean outputTransients,
boolean outputStatics,
boolean excludeNullValues,
Class<? super T> reflectUpToClass)
Builds a
toString value through reflection. |
static <T> String |
ReflectionToStringBuilder.toString(T object,
ToStringStyle style,
boolean outputTransients,
boolean outputStatics,
Class<? super T> reflectUpToClass)
Builds a
toString value through reflection. |
Constructor and Description |
---|
ReflectionToStringBuilder(Object object,
ToStringStyle style)
Constructor.
|
ReflectionToStringBuilder(Object object,
ToStringStyle style,
StringBuffer buffer)
Constructor.
|
ReflectionToStringBuilder(T object,
ToStringStyle style,
StringBuffer buffer,
Class<? super T> reflectUpToClass,
boolean outputTransients,
boolean outputStatics)
Constructor.
|
ReflectionToStringBuilder(T object,
ToStringStyle style,
StringBuffer buffer,
Class<? super T> reflectUpToClass,
boolean outputTransients,
boolean outputStatics,
boolean excludeNullValues)
Constructor.
|
ToStringBuilder(Object object,
ToStringStyle style)
Constructs a builder for the specified object using the defined output style.
|
ToStringBuilder(Object object,
ToStringStyle style,
StringBuffer buffer)
Constructs a builder for the specified object.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.