|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ReaderListener.ReaderEvent.Type> com.levigo.jadice.document.read.ReaderListener.ReaderEvent.Type
public static enum ReaderListener.ReaderEvent.Type
Enum Constant Summary | |
---|---|
FORMAT_READ_CANCELED
An event indicating that a read-process for some format stream has been canceled. |
|
FORMAT_READ_COMPLETED
An event indicating that a read-process for some format stream has been completed. |
|
FORMAT_READ_FAILED
An event indicating that a read-process for some format stream has failed. |
|
FORMAT_READ_STARTED
An event indicating that a read-process for some format stream has been started. |
|
PAGE_READ_COMPLETED
An event indicating that a read-process for a single page that has been completed. |
|
PAGE_READ_STARTED
An event indicating that a read-process for a single page that has been started. |
|
READ_COMPLETED
An event indicating that a read-process has been completed. |
Method Summary | |
---|---|
static ReaderListener.ReaderEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReaderListener.ReaderEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReaderListener.ReaderEvent.Type FORMAT_READ_STARTED
public static final ReaderListener.ReaderEvent.Type PAGE_READ_STARTED
public static final ReaderListener.ReaderEvent.Type PAGE_READ_COMPLETED
public static final ReaderListener.ReaderEvent.Type FORMAT_READ_CANCELED
public static final ReaderListener.ReaderEvent.Type FORMAT_READ_FAILED
ReaderListener.ReaderEvent.getCause()
.
public static final ReaderListener.ReaderEvent.Type FORMAT_READ_COMPLETED
public static final ReaderListener.ReaderEvent.Type READ_COMPLETED
Reader.complete()
or the completion of a read process
initiated through Read.synchronously()
/Read.asynchronously()
.
Method Detail |
---|
public static ReaderListener.ReaderEvent.Type[] values()
for (ReaderListener.ReaderEvent.Type c : ReaderListener.ReaderEvent.Type.values()) System.out.println(c);
public static ReaderListener.ReaderEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |