org.jboss.common.beans.property
Class ShortEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jboss.common.beans.property.PropertyEditorSupport<Short>
org.jboss.common.beans.property.ShortEditor
- All Implemented Interfaces:
- PropertyEditor
public class ShortEditor
- extends PropertyEditorSupport<Short>
A property editor for Short.
- Author:
- Scott.Stark@jboss.org
|
Method Summary |
void |
setAsText(String text)
Map the argument text into and Short using Short.decode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortEditor
public ShortEditor()
setAsText
public void setAsText(String text)
- Map the argument text into and Short using Short.decode.
- Specified by:
setAsText in interface PropertyEditor- Specified by:
setAsText in class PropertyEditorSupport<Short>
- Parameters:
text - The string to be parsed.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.