org.apache.mina.integration.beans
Class CharacterEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.mina.integration.beans.AbstractPropertyEditor
org.apache.mina.integration.beans.CharacterEditor
- All Implemented Interfaces:
- PropertyEditor
public class CharacterEditor
- extends AbstractPropertyEditor
A PropertyEditor
which converts a String
into
a Character
and vice versa.
- Version:
- $Revision: 606107 $, $Date: 2007-12-21 07:01:28 +0100 (ven, 21 déc 2007) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharacterEditor
public CharacterEditor()
toText
protected String toText(Object value)
- Specified by:
toText
in class AbstractPropertyEditor
toValue
protected Object toValue(String text)
throws IllegalArgumentException
- Specified by:
toValue
in class AbstractPropertyEditor
- Throws:
IllegalArgumentException
Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.