public enum NetworkAddressFamily extends Enum<NetworkAddressFamily>
QApiEnumDescriptor{name=NetworkAddressFamily, data=[ipv4, ipv6, unix, unknown], fields=null}
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static NetworkAddressFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAddressFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkAddressFamily ipv4
public static final NetworkAddressFamily ipv6
public static final NetworkAddressFamily unix
public static final NetworkAddressFamily unknown
public static final NetworkAddressFamily __UNKNOWN
public static NetworkAddressFamily[] values()
for (NetworkAddressFamily c : NetworkAddressFamily.values()) System.out.println(c);
public static NetworkAddressFamily 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 String getJsonValue()