public static enum Dns.ClassType extends Enum<Dns.ClassType> implements ProtocolEnum
Enum Constant and Description |
---|
ANY
"Any" class.
|
CHAOS
CHAOS class.
|
CSNET
CSNET Class (Obsolete).
|
HESOID
Hesoid class [Dyer 87].
|
INTERNET
Internet.
|
NONE
NONE class Dynamic DNS Update [rfc 2136]
|
Modifier and Type | Method and Description |
---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static Dns.ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dns.ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dns.ClassType INTERNET
public static final Dns.ClassType CSNET
public static final Dns.ClassType CHAOS
public static final Dns.ClassType HESOID
public static final Dns.ClassType NONE
public static final Dns.ClassType ANY
public static Dns.ClassType[] values()
for (Dns.ClassType c : Dns.ClassType.values()) System.out.println(c);
public static Dns.ClassType 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 code()
ProtocolEnum
code
in interface ProtocolEnum
Copyright © 2015. All Rights Reserved.