public enum ProtocolFamilyDetection extends Enum<ProtocolFamilyDetection> implements ProtocolFamily
Enum Constant and Description |
---|
AUTOMATIC
Will be INET6 in case of Linux and Java 7
|
INET
Internet Protocol Version 4 (IPv4)
|
INET6
Internet Protocol Version 6 (IPv6)
|
Modifier and Type | Method and Description |
---|---|
static ProtocolFamilyDetection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolFamilyDetection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final ProtocolFamilyDetection INET
public static final ProtocolFamilyDetection INET6
public static final ProtocolFamilyDetection AUTOMATIC
public static ProtocolFamilyDetection[] values()
for (ProtocolFamilyDetection c : ProtocolFamilyDetection.values()) System.out.println(c);
public static ProtocolFamilyDetection 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 nullCopyright © 2010–2020 Onix Solutions. All rights reserved.