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