public class InetAddressConverter extends java.lang.Object implements ValueConverter<java.net.InetAddress>
InetAddress using getByName.| Constructor and Description |
|---|
InetAddressConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
convert(java.lang.String value)
Converts the given string value into a Java type.
|
java.lang.String |
valuePattern()
Gives a string that describes the pattern of the values this converter expects, if any.
|
java.lang.Class<java.net.InetAddress> |
valueType()
Gives the class of the type of values this converter converts to.
|
public java.net.InetAddress convert(java.lang.String value)
ValueConverterconvert in interface ValueConverter<java.net.InetAddress>value - the string to convertpublic java.lang.Class<java.net.InetAddress> valueType()
ValueConvertervalueType in interface ValueConverter<java.net.InetAddress>public java.lang.String valuePattern()
ValueConverterdate format string.valuePattern in interface ValueConverter<java.net.InetAddress>null if there's nothing interesting here© Copyright 2004-2013 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu