org.jboss.util.propertyeditor
Class InetAddressEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jboss.util.propertyeditor.TextPropertyEditorSupport
org.jboss.util.propertyeditor.InetAddressEditor
- All Implemented Interfaces:
- PropertyEditor
public class InetAddressEditor
- extends TextPropertyEditorSupport
A property editor for InetAddress
.
- Version:
- $Revision: 1.8.6.2 $
- Author:
- Adrian Brock
Method Summary |
Object |
getValue()
Returns a InetAddress for the input object converted to a string. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InetAddressEditor
public InetAddressEditor()
getValue
public Object getValue()
- Returns a InetAddress for the input object converted to a string.
- Specified by:
getValue
in interface PropertyEditor
- Overrides:
getValue
in class PropertyEditorSupport
- Returns:
- an InetAddress
- Throws:
NestedRuntimeException
- An UnknownHostException occured.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.