org.apache.commons.convert
Class NetConverters.InetAddressToString

java.lang.Object
  extended by org.apache.commons.convert.AbstractConverter<InetAddress,String>
      extended by org.apache.commons.convert.NetConverters.InetAddressToString
All Implemented Interfaces:
Converter<InetAddress,String>, ConverterLoader
Enclosing class:
NetConverters

public static class NetConverters.InetAddressToString
extends AbstractConverter<InetAddress,String>

An object that converts an InetAddress to a String.


Constructor Summary
NetConverters.InetAddressToString()
           
 
Method Summary
 String convert(InetAddress obj)
          Converts obj to T.
 
Methods inherited from class org.apache.commons.convert.AbstractConverter
canConvert, getSourceClass, getTargetClass, loadConverters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetConverters.InetAddressToString

public NetConverters.InetAddressToString()
Method Detail

convert

public String convert(InetAddress 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.