|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.style.StylerUtils
public abstract class StylerUtils
Simple utility class to allow for convenient access to value styling logic, mainly to support descriptive logging messages.
For more sophisticated needs, use the ValueStyler
abstraction
directly. This class simply uses a shared DefaultValueStyler
instance underneath.
ValueStyler
,
DefaultValueStyler
Field Summary | |
---|---|
(package private) static ValueStyler |
DEFAULT_VALUE_STYLER
Default ValueStyler instance used by the style method. |
Constructor Summary | |
---|---|
StylerUtils()
|
Method Summary | |
---|---|
static java.lang.String |
style(java.lang.Object value)
Style the specified value according to default conventions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final ValueStyler DEFAULT_VALUE_STYLER
style
method.
Also available for the ToStringCreator
class in this package.
Constructor Detail |
---|
public StylerUtils()
Method Detail |
---|
public static java.lang.String style(java.lang.Object value)
value
- the Object value to style
DefaultValueStyler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |