|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.apache.xbean.server.propertyeditor.InetAddressEditor
InetAddressEditor is a java beans property editor that can convert an InetAddreass to and from a String.
| Constructor Summary | |
InetAddressEditor()
|
|
| Method Summary | |
java.lang.String |
getAsText()
Converts the stored InetAddress value into a String. |
void |
setAsText(java.lang.String value)
Converts the specified string value into an InetAddress and stores the value in this instance. |
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InetAddressEditor()
| Method Detail |
public void setAsText(java.lang.String value)
throws java.lang.IllegalArgumentException
value - the string to convert into an InetAddress
java.lang.IllegalArgumentException - if the specified string value is not a valid InetAddress
public java.lang.String getAsText()
throws java.lang.NullPointerException
java.lang.NullPointerException - if the current InetAddress is null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||