类 CurrencyEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.CurrencyEditor
- 所有已实现的接口:
PropertyEditor
public class CurrencyEditor extends PropertyEditorSupport
Editor forjava.util.Currency
, translating currency codes into Currency objects. Exposes the currency code as text representation of a Currency object.- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller
- 另请参阅:
Currency
构造器概要
构造器 构造器 说明 CurrencyEditor()
构造器详细资料
CurrencyEditor
public CurrencyEditor()
方法详细资料
setAsText
public void setAsText(String text) throws IllegalArgumentException
- 指定者:
setAsText
在接口中PropertyEditor
- 覆盖:
setAsText
在类中PropertyEditorSupport
- 抛出:
IllegalArgumentException
getAsText
public String getAsText()
- 指定者:
getAsText
在接口中PropertyEditor
- 覆盖:
getAsText
在类中PropertyEditorSupport