public class ConvertingPropertyEditorAdapter extends PropertyEditorSupport
PropertyEditor for any given
ConversionService and specific target type.| 构造器和说明 |
|---|
ConvertingPropertyEditorAdapter(ConversionService conversionService,
TypeDescriptor targetDescriptor)
Create a new ConvertingPropertyEditorAdapter for a given
ConversionService
and the given target type. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
public ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor)
ConversionService
and the given target type.conversionService - the ConversionService to delegate totargetDescriptor - the target type to convert topublic void setAsText(@Nullable String text) throws IllegalArgumentException
setAsText 在接口中 PropertyEditorsetAsText 在类中 PropertyEditorSupportIllegalArgumentException@Nullable public String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupport