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