public enum HostAddrType extends Enum<HostAddrType> implements org.apache.kerby.asn1.EnumType
| Enum Constant and Description |
|---|
ADDRTYPE_APPLETALK
Constant for the "AppleTalk" host address type.
|
ADDRTYPE_CHAOS
Constant for the "CHAOS" host address type.
|
ADDRTYPE_DECNET
Constant for the "DECnet" host address type.
|
ADDRTYPE_IMPLINK
Constant for the "Arpanet" host address type.
|
ADDRTYPE_INET
Constant for the "Internet" host address type.
|
ADDRTYPE_INET6
Constant for the "Internet Protocol V6" host address type.
|
ADDRTYPE_NETBIOS
Constant for the "NetBios" host address type.
|
ADDRTYPE_OSI
Constant for the "OSI" host address type.
|
ADDRTYPE_XNS
Constant for the "XEROX Network Services" host address type.
|
NONE
Constant for the "null" host address type.
|
| Modifier and Type | Method and Description |
|---|---|
static HostAddrType |
fromValue(Integer value)
Get the HostAddrType associated with a value.
|
String |
getName() |
int |
getValue() |
static HostAddrType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostAddrType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostAddrType NONE
public static final HostAddrType ADDRTYPE_INET
public static final HostAddrType ADDRTYPE_IMPLINK
public static final HostAddrType ADDRTYPE_CHAOS
public static final HostAddrType ADDRTYPE_XNS
public static final HostAddrType ADDRTYPE_OSI
public static final HostAddrType ADDRTYPE_DECNET
public static final HostAddrType ADDRTYPE_APPLETALK
public static final HostAddrType ADDRTYPE_NETBIOS
public static final HostAddrType ADDRTYPE_INET6
public static HostAddrType[] values()
for (HostAddrType c : HostAddrType.values()) System.out.println(c);
public static HostAddrType 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()
getValue in interface org.apache.kerby.asn1.EnumTypepublic String getName()
getName in interface org.apache.kerby.asn1.EnumTypepublic static HostAddrType fromValue(Integer value)
value - The integer value of the HostAddrType we are looking forCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.