org.apache.commons.convert
Class NetConverters.StringToInetAddress
java.lang.Object
org.apache.commons.convert.AbstractConverter<String,InetAddress>
org.apache.commons.convert.NetConverters.StringToInetAddress
- All Implemented Interfaces:
- Converter<String,InetAddress>, ConverterLoader
- Enclosing class:
- NetConverters
public static class NetConverters.StringToInetAddress
- extends AbstractConverter<String,InetAddress>
An object that converts a String
to an
InetAddress
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetConverters.StringToInetAddress
public NetConverters.StringToInetAddress()
convert
public InetAddress convert(String obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.