public static enum ModemConfig.AuthType extends Enum<ModemConfig.AuthType>
Modifier and Type | Method and Description |
---|---|
static ModemConfig.AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModemConfig.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModemConfig.AuthType NONE
public static final ModemConfig.AuthType PAP
public static final ModemConfig.AuthType CHAP
public static ModemConfig.AuthType[] values()
for (ModemConfig.AuthType c : ModemConfig.AuthType.values()) System.out.println(c);
public static ModemConfig.AuthType 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 © 2013. All Rights Reserved.