org.apache.camel.component.dns.types
Class DnsConverter

java.lang.Object
  extended by org.apache.camel.component.dns.types.DnsConverter

@Converter
public final class DnsConverter
extends Object

A converter for all the DNS objects used by the DNS component.


Method Summary
static InetAddress toInetAddress(String domain)
           
static List<String> toList(org.xbill.DNS.Record[] records)
           
static String toString(org.xbill.DNS.Address address)
           
static String toString(InetAddress address)
           
static String toString(org.xbill.DNS.Message message)
           
static String toString(org.xbill.DNS.Record record)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toString

@Converter
public static String toString(org.xbill.DNS.Record record)

toList

@Converter
public static List<String> toList(org.xbill.DNS.Record[] records)

toString

@Converter
public static String toString(org.xbill.DNS.Message message)

toString

@Converter
public static String toString(org.xbill.DNS.Address address)

toString

@Converter
public static String toString(InetAddress address)

toInetAddress

@Converter
public static InetAddress toInetAddress(String domain)
                                 throws UnknownHostException
Throws:
UnknownHostException


Apache CAMEL