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
构造器和说明 |
---|
InetAddressEditor() |
限定符和类型 | 方法和说明 |
---|---|
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, setValue
protected java.lang.String toText(java.lang.Object value)
toText
在类中 AbstractPropertyEditor
protected java.lang.Object toValue(java.lang.String text) throws java.lang.IllegalArgumentException
toValue
在类中 AbstractPropertyEditor
java.lang.IllegalArgumentException
protected java.lang.String defaultText()
defaultText
在类中 AbstractPropertyEditor
protected java.lang.Object defaultValue()
defaultValue
在类中 AbstractPropertyEditor