static enum NetRC.State extends java.lang.Enum<NetRC.State>
Enum Constant and Description |
---|
ACCOUNT |
COMMAND |
DEFAULT |
LOGIN |
MACDEF |
MACHINE |
PASSWORD |
Modifier and Type | Method and Description |
---|---|
static NetRC.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetRC.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetRC.State COMMAND
public static final NetRC.State MACHINE
public static final NetRC.State LOGIN
public static final NetRC.State PASSWORD
public static final NetRC.State DEFAULT
public static final NetRC.State ACCOUNT
public static final NetRC.State MACDEF
public static NetRC.State[] values()
for (NetRC.State c : NetRC.State.values()) System.out.println(c);
public static NetRC.State 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