|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.read.ReaderListener.ReaderEvent
public static class ReaderListener.ReaderEvent
Nested Class Summary | |
---|---|
static class |
ReaderListener.ReaderEvent.Type
|
Constructor Summary | |
---|---|
ReaderListener.ReaderEvent(ReaderListener.ReaderEvent.Type type,
Format format,
Document document,
String readID,
int streamIndex,
int streamPageIndex,
Page page,
int pageIndex,
PageSegment pageSegment,
int expectedPageCount,
Throwable cause,
ReaderControls controls)
|
Method Summary | |
---|---|
Throwable |
getCause()
|
Document |
getDocument()
|
int |
getExpectedPageCount()
Get the total page count to be expected. |
Format |
getFormat()
|
Page |
getPage()
|
int |
getPageIndex()
|
PageSegment |
getPageSegment()
|
ReaderControls |
getReaderControls()
|
String |
getReadID()
Get the read-ID of the read operation during which the page segment was read. |
int |
getStreamIndex()
Return the source stream's index within the read operation during which the page segment was read. |
int |
getStreamPageIndex()
Get the index of the page within the stream from which the page segment was read. |
ReaderListener.ReaderEvent.Type |
getType()
Return the ReaderListener.ReaderEvent.Type of this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReaderListener.ReaderEvent(ReaderListener.ReaderEvent.Type type, Format format, Document document, String readID, int streamIndex, int streamPageIndex, Page page, int pageIndex, PageSegment pageSegment, int expectedPageCount, Throwable cause, ReaderControls controls)
Method Detail |
---|
public Document getDocument()
public Page getPage()
public int getPageIndex()
public PageSegment getPageSegment()
public String getReadID()
StreamSourceID
Reader
instance used to read the stream.
getReadID
in interface StreamSourceID
public int getStreamIndex()
StreamSourceID
Reader
maintains a counter of streams that were loaded using the reader.
getStreamIndex
in interface StreamSourceID
public int getStreamPageIndex()
SourceID
getStreamPageIndex
in interface SourceID
public Format getFormat()
public int getExpectedPageCount()
public Throwable getCause()
public ReaderListener.ReaderEvent.Type getType()
ReaderListener.ReaderEvent.Type
of this event.
public ReaderControls getReaderControls()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |