Enum HostTypeEnum
- All Implemented Interfaces:
Serializable, Comparable<HostTypeEnum>
The type of Host we may have . One of :
- IPV4 : IPV4 host
- IPV6 : IPV6 host
- IPV_FUTURE : IP v Future host
- REGULAR_NAME : A regular name
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIP V(future) hostIP V4 hostIP V6 hostRegular name host -
Method Summary
Modifier and TypeMethodDescriptionstatic HostTypeEnumReturns the enum constant of this type with the specified name.static HostTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IPV4
IP V4 host -
IPV6
IP V6 host -
IPV_FUTURE
IP V(future) host -
REGULAR_NAME
Regular name host
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-