public static enum Record.CLASS extends Enum<Record.CLASS>
IN
for Internet).Enum Constant and Description |
---|
ANY |
CH
The Chaos class.
|
HS
The Hesiod class.
|
IN
The Internet class.
|
NONE |
Modifier and Type | Method and Description |
---|---|
static Record.CLASS |
getClass(int value)
Retrieve the symbolic DNS class for a binary class value.
|
int |
getValue()
Retrieve the binary value of this DNS class.
|
static Record.CLASS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Record.CLASS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Record.CLASS IN
public static final Record.CLASS CH
public static final Record.CLASS HS
public static final Record.CLASS NONE
public static final Record.CLASS ANY
public static Record.CLASS[] values()
for (Record.CLASS c : Record.CLASS.values()) System.out.println(c);
public static Record.CLASS 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 int getValue()
public static Record.CLASS getClass(int value)
value
- The binary DNS class value.