org.apache.camel.component.dns.types
Class DnsRecordConverter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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