类 FormatterPropertyEditorAdapter
java.lang.Object
java.beans.PropertyEditorSupport
cn.taketoday.format.support.FormatterPropertyEditorAdapter
- 所有已实现的接口:
PropertyEditor
Adapter that bridges between
Formatter and PropertyEditor.- 从以下版本开始:
- 4.0, 4.0
- 作者:
- Juergen Hoeller, Harry Yang
-
构造器概要
构造器构造器说明FormatterPropertyEditorAdapter(Formatter<?> formatter) Create a newFormatterPropertyEditorAdapterfor the givenFormatter. -
方法概要
-
构造器详细资料
-
方法详细资料
-
getFieldType
Determine theFormatter-declared field type.- 返回:
- the field type declared in the wrapped
Formatterimplementation (nevernull) - 抛出:
IllegalArgumentException- if theFormatter-declared field type cannot be inferred
-
setAsText
- 指定者:
setAsText在接口中PropertyEditor- 覆盖:
setAsText在类中PropertyEditorSupport- 抛出:
IllegalArgumentException
-
getAsText
- 指定者:
getAsText在接口中PropertyEditor- 覆盖:
getAsText在类中PropertyEditorSupport
-