类 ZoneIdEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.ZoneIdEditor
- 所有已实现的接口:
PropertyEditor
@UsesJava8 public class ZoneIdEditor extends PropertyEditorSupport
Editor forjava.time.ZoneId, translating zone ID Strings intoZoneIdobjects. Exposes theTimeZoneID as a text representation.- 从以下版本开始:
- 4.0
- 作者:
- Nicholas Williams
- 另请参阅:
ZoneId,TimeZoneEditor
构造器概要
构造器 构造器 说明 ZoneIdEditor()
构造器详细资料
ZoneIdEditor
public ZoneIdEditor()
方法详细资料
setAsText
public void setAsText(String text) throws IllegalArgumentException
- 指定者:
setAsText在接口中PropertyEditor- 覆盖:
setAsText在类中PropertyEditorSupport- 抛出:
IllegalArgumentException
getAsText
public String getAsText()
- 指定者:
getAsText在接口中PropertyEditor- 覆盖:
getAsText在类中PropertyEditorSupport