public class Types
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Types.Mx |
static class |
Types.Naptr |
static class |
Types.Srv |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_IN |
static int |
TYPE_A |
static int |
TYPE_AAAA |
static int |
TYPE_CNAME |
static int |
TYPE_MX |
static int |
TYPE_NAPTR |
static int |
TYPE_NS |
static int |
TYPE_PTR |
static int |
TYPE_SRV |
static int |
TYPE_TXT |
| Modifier and Type | Method and Description |
|---|---|
static Types |
get() |
int |
getTypeCode(java.lang.String type) |
java.lang.Object |
parseRecord(Wire.RR rec)
Given a populated resource record, parse the raw data and set an object on the
"record" field of the RR, and also return it.
|
public static final int CLASS_IN
public static final int TYPE_A
public static final int TYPE_AAAA
public static final int TYPE_CNAME
public static final int TYPE_MX
public static final int TYPE_NS
public static final int TYPE_PTR
public static final int TYPE_TXT
public static final int TYPE_SRV
public static final int TYPE_NAPTR
public static Types get()
public int getTypeCode(java.lang.String type)
public java.lang.Object parseRecord(Wire.RR rec) throws DNSFormatException
rec - The parsed record from the responseDNSFormatExceptionCopyright © 2018 Apigee Corporation. All Rights Reserved.