public abstract class StylerUtils
extends java.lang.Object
For more sophisticated needs, use the ValueStyler
abstraction
directly. This class simply uses a shared DefaultValueStyler
instance underneath.
ValueStyler
,
DefaultValueStyler
Modifier and Type | Field and Description |
---|---|
(package private) static ValueStyler |
DEFAULT_VALUE_STYLER
Default ValueStyler instance used by the
style method. |
Constructor and Description |
---|
StylerUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
style(java.lang.Object value)
Style the specified value according to default conventions.
|
static final ValueStyler DEFAULT_VALUE_STYLER
style
method.
Also available for the ToStringCreator
class in this package.public static java.lang.String style(java.lang.Object value)
value
- the Object value to styleDefaultValueStyler