类 DefaultValueStyler
java.lang.Object
cn.taketoday.core.style.DefaultValueStyler
- 所有已实现的接口:
ValueStyler
Converts objects to String form, generally for debugging purposes,
using default
toString styling conventions.
Uses the reflective visitor pattern underneath the hood to nicely encapsulate styling algorithms for each type of styled object.
- 从以下版本开始:
- 4.0
- 作者:
- Keith Donald, Juergen Hoeller
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private StringgetCollectionTypeString(Collection<?> value) Style the given value, returning a String representation.private Stringstyle(Collection<?> value) private Stringprivate <K,V> String private StringstyleArray(Object[] array)
-
字段详细资料
-
构造器详细资料
-
DefaultValueStyler
public DefaultValueStyler()
-
-
方法详细资料
-
style
从接口复制的说明:ValueStylerStyle the given value, returning a String representation.- 指定者:
style在接口中ValueStyler- 参数:
value- the Object value to style- 返回:
- the styled String
-
style
-
style
-
style
-
getCollectionTypeString
-
styleArray
-