public enum RecordType extends Enum<RecordType>
Enum Constant and Description |
---|
A
Enum value A.
|
AAAA
Enum value AAAA.
|
CAA
Enum value CAA.
|
CNAME
Enum value CNAME.
|
MX
Enum value MX.
|
NS
Enum value NS.
|
PTR
Enum value PTR.
|
SOA
Enum value SOA.
|
SRV
Enum value SRV.
|
TXT
Enum value TXT.
|
Modifier and Type | Method and Description |
---|---|
static RecordType |
fromString(String value)
Parses a serialized value to a RecordType instance.
|
String |
toString() |
static RecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordType A
public static final RecordType AAAA
public static final RecordType CAA
public static final RecordType CNAME
public static final RecordType MX
public static final RecordType NS
public static final RecordType PTR
public static final RecordType SOA
public static final RecordType SRV
public static final RecordType TXT
public static RecordType[] values()
for (RecordType c : RecordType.values()) System.out.println(c);
public static RecordType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static RecordType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<RecordType>
Copyright © 2019. All rights reserved.