类 StylerUtils
- java.lang.Object
- org.springframework.core.style.StylerUtils
public abstract class StylerUtils extends Object
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 sharedDefaultValueStyler
instance underneath.- 从以下版本开始:
- 1.2.2
- 作者:
- Keith Donald
- 另请参阅:
ValueStyler
,DefaultValueStyler
构造器详细资料
StylerUtils
public StylerUtils()
方法详细资料
style
public static String style(Object value)
Style the specified value according to default conventions.- 参数:
value
- the Object value to style- 返回:
- the styled String
- 另请参阅:
DefaultValueStyler