public class InetAddressEditor extends AbstractPropertyEditor
PropertyEditor which converts a String into an
InetAddress.
This editor simply calls InetAddress.getByName(java.lang.String)
when converting from a String, and InetAddress.getHostAddress()
when converting to a String.InetAddress| Constructor and Description |
|---|
InetAddressEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
defaultText() |
protected java.lang.Object |
defaultValue() |
protected java.lang.String |
toText(java.lang.Object value) |
protected java.lang.Object |
toValue(java.lang.String text) |
getAsText, getValue, setAsText, setTrimText, setValueprotected java.lang.String toText(java.lang.Object value)
toText in class AbstractPropertyEditorprotected java.lang.Object toValue(java.lang.String text)
throws java.lang.IllegalArgumentException
toValue in class AbstractPropertyEditorjava.lang.IllegalArgumentExceptionprotected java.lang.String defaultText()
defaultText in class AbstractPropertyEditorprotected java.lang.Object defaultValue()
defaultValue in class AbstractPropertyEditor