public class FragmentEvent extends ReaderEvent
ReaderEvent.EventType
This event is emitted at the end of every fragment.ReaderEvent.EventType
Modifier and Type | Method and Description |
---|---|
DicomObject |
getDicomObject()
The DicomObject in which the fragment is read.
|
long |
getLength()
The length of the fragment in bytes.
|
long |
getOffset()
The absolute offset of the fragment data with respect to the beginning of the DICOM stream or file.
|
boolean |
isFirstFragment()
Returns if or not the fragment read is the first fragment of an image frame.
|
boolean |
isLastFragment()
Returns if or not the fragment read is the last fragment of an image frame.
|
java.lang.String |
toString() |
getEventType
public long getOffset()
public long getLength()
public boolean isFirstFragment()
public boolean isLastFragment()
public DicomObject getDicomObject()
public java.lang.String toString()
toString
in class java.lang.Object