站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

StylerUtils (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.core.style
Class StylerUtils

java.lang.Object
  extended by 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 shared DefaultValueStyler instance underneath.

Since:
1.2.2
Author:
Keith Donald
See Also:
ValueStyler, DefaultValueStyler

Field Summary
(package private) static ValueStyler DEFAULT_VALUE_STYLER
          Default ValueStyler instance used by this ToStringCreator.
 
Constructor Summary
StylerUtils()
           
 
Method Summary
static String style(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

DEFAULT_VALUE_STYLER

static final ValueStyler DEFAULT_VALUE_STYLER
Default ValueStyler instance used by this ToStringCreator. Also available for direct use.

Constructor Detail

StylerUtils

public StylerUtils()
Method Detail

style

public static String style(Object value)
Style the specified value according to default conventions.

Parameters:
value - the Object value to style
Returns:
the styled String
See Also:
DefaultValueStyler


Copyright (c) 2002-2007 The Spring Framework Project.