类 ConvertingPropertyEditorAdapter
java.lang.Object
java.beans.PropertyEditorSupport
cn.taketoday.core.conversion.support.ConvertingPropertyEditorAdapter
- 所有已实现的接口:
PropertyEditor
Adapter that exposes a
PropertyEditor for any given
ConversionService and specific target type.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
-
构造器概要
构造器构造器说明ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor) Create a new ConvertingPropertyEditorAdapter for a givenConversionServiceand the given target type. -
方法概要
-
构造器详细资料
-
ConvertingPropertyEditorAdapter
public ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor) Create a new ConvertingPropertyEditorAdapter for a givenConversionServiceand the given target type.- 参数:
conversionService- the ConversionService to delegate totargetDescriptor- the target type to convert to
-
-
方法详细资料
-
setAsText
- 指定者:
setAsText在接口中PropertyEditor- 覆盖:
setAsText在类中PropertyEditorSupport- 抛出:
IllegalArgumentException
-
getAsText
- 指定者:
getAsText在接口中PropertyEditor- 覆盖:
getAsText在类中PropertyEditorSupport
-