ValueConverter<InetAddress>
public class InetAddressConverter extends Object implements ValueConverter<InetAddress>
InetAddress
using getByName
.Constructor | Description |
---|---|
InetAddressConverter() |
Modifier and Type | Method | Description |
---|---|---|
InetAddress |
convert(String value) |
Converts the given string value into a Java type.
|
String |
valuePattern() |
Gives a string that describes the pattern of the values this converter expects, if any.
|
Class<InetAddress> |
valueType() |
Gives the class of the type of values this converter converts to.
|
public InetAddress convert(String value)
ValueConverter
convert
in interface ValueConverter<InetAddress>
value
- the string to convertpublic Class<InetAddress> valueType()
ValueConverter
valueType
in interface ValueConverter<InetAddress>
public String valuePattern()
ValueConverter
date format string
.valuePattern
in interface ValueConverter<InetAddress>
null
if there's nothing interesting hereCopyright © 2019. All rights reserved.