Class CharacterEditor

java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.CharacterEditor
All Implemented Interfaces:
PropertyEditor

public class CharacterEditor extends PropertyEditorSupport
Editor for a Character, to populate a property of type Character or char from a String value.

Note that the JDK does not contain a default property editor for char! BeanWrapperImpl will register this editor by default.

Also supports conversion from a Unicode character sequence; for example, u0041 ('A').

Since:
1.2
Author:
Juergen Hoeller, Rob Harrop, Rick Evans
See Also: