public class InetSocketAddressEditor extends AbstractPropertyEditor
PropertyEditor
which converts a String
into an
InetSocketAddress
. Valid values include a hostname or IP
address and a port number separated by a ':'. If the hostname or IP address
is omitted the wildcard address will be used. E.g.:
google.com:80
, :22
, 192.168.0.1:110
.InetSocketAddress
构造器和说明 |
---|
InetSocketAddressEditor() |
限定符和类型 | 方法和说明 |
---|---|
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