public enum ReadStatus extends java.lang.Enum<ReadStatus>
enum
denotes the status of a read. Enum Constant and Description |
---|
END_OF_FILE
End of file condition.
|
EVIO_EXCEPTION
Evio exception on read.
|
SUCCESS
Successful read.
|
UNKNOWN_ERROR
Unknown exception on read.
|
Modifier and Type | Method and Description |
---|---|
static ReadStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadStatus SUCCESS
public static final ReadStatus END_OF_FILE
public static final ReadStatus EVIO_EXCEPTION
public static final ReadStatus UNKNOWN_ERROR
public static ReadStatus[] values()
for (ReadStatus c : ReadStatus.values()) System.out.println(c);
public static ReadStatus 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