- All Implemented Interfaces:
Serializable
,Comparable<AddressFamily>
Deprecated.
The supported address families, such as IPv4 and IPv6.
- Author:
- AO Industries, Inc.
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Please useStandardProtocolFamily.INET
as of Java 1.7.Deprecated.Please useStandardProtocolFamily.INET6
as of Java 1.7. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Gets the maximum size of a prefix for addresses in this family.static AddressFamily
Deprecated.Returns the enum constant of this type with the specified name.static AddressFamily[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INET
Deprecated.Please useStandardProtocolFamily.INET
as of Java 1.7.Internet Protocol Version 4 (IPv4). -
INET6
Deprecated.Please useStandardProtocolFamily.INET6
as of Java 1.7.Internet Protocol Version 6 (IPv6).
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
getMaxPrefix
public int getMaxPrefix()Deprecated.Gets the maximum size of a prefix for addresses in this family.
-
StandardProtocolFamily
as of Java 1.7.