Class ByteEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.apache.mina.integration.beans.AbstractPropertyEditor
-
- org.apache.mina.integration.beans.NumberEditor
-
- org.apache.mina.integration.beans.ByteEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class ByteEditor extends NumberEditor
APropertyEditor
which converts aString
into anByte
and vice versa.- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description ByteEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
defaultValue()
protected java.lang.Object
toValue(java.lang.String text, int radix)
-
Methods inherited from class org.apache.mina.integration.beans.NumberEditor
toText, toValue
-
Methods inherited from class org.apache.mina.integration.beans.AbstractPropertyEditor
defaultText, getAsText, getValue, setAsText, setTrimText, setValue
-
-
-
-
Method Detail
-
toValue
protected java.lang.Object toValue(java.lang.String text, int radix)
- Overrides:
toValue
in classNumberEditor
-
defaultValue
protected java.lang.Object defaultValue()
- Overrides:
defaultValue
in classNumberEditor
- Returns:
- The default value
-
-