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

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

@Converter
public final class DnsRecordConverter
extends Object

More converters for all the DNS objects used by the DNS component.


Method Summary
static org.xbill.DNS.Record toRecord(String ip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toRecord

@Converter
public static org.xbill.DNS.Record toRecord(String ip)
                                     throws IOException
Parameters:
ip, - like "192.168.1.1"
Returns:
the complete DNS record for that IP.
Throws:
IOException


Apache Camel