public class FormatterPropertyEditorAdapter extends PropertyEditorSupport
Formatter and PropertyEditor.| 构造器和说明 |
|---|
FormatterPropertyEditorAdapter(Formatter<?> formatter)
Create a new
FormatterPropertyEditorAdapter for the given Formatter. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAsText() |
Class<?> |
getFieldType()
Determine the
Formatter-declared field type. |
void |
setAsText(String text) |
public Class<?> getFieldType()
Formatter-declared field type.Formatter implementation
(never null)IllegalArgumentException - if the Formatter-declared field type
cannot be inferredpublic void setAsText(String text) throws IllegalArgumentException
setAsText 在接口中 PropertyEditorsetAsText 在类中 PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupport