public static enum Network.Type extends java.lang.Enum<Network.Type>
Enum Constant and Description |
---|
NONE |
WEP |
WPA_ENTERPRISE |
WPA_PERSONAL |
WPA2_ENTERPRISE |
WPA2_PERSONAL |
Modifier and Type | Method and Description |
---|---|
static Network.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Network.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Network.Type WEP
public static final Network.Type WPA_PERSONAL
public static final Network.Type WPA_ENTERPRISE
public static final Network.Type WPA2_PERSONAL
public static final Network.Type WPA2_ENTERPRISE
public static final Network.Type NONE
public static Network.Type[] values()
for (Network.Type c : Network.Type.values()) System.out.println(c);
public static Network.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null