public class P_DATA_TF_PDU extends PDU
| Constructor and Description |
|---|
P_DATA_TF_PDU()
Instantiates a new P-DATA-TF-PDU.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAllCommmandFragments()
Gets the all command fragments.
|
byte[] |
getAllDataFragments()
Gets all data fragments.
|
int |
getFragmentType()
Retrieves the fragment type whether it is Command fragment or DataSet fragment.
|
int |
getLength()
This function gets the length of P-Data-Value-ITem.
|
byte |
getPresContextID()
Retrieves the Presentation Context ID from Presentation Data Value Items.
|
boolean |
isLastCommandFragmentPresent()
Checks if last command fragment is present.
|
boolean |
isLastDataFragmentPresent()
Checks whether last data fragment present.
|
void |
parse(IDicomStream objIDicomStream)
The implementation of this method parse the P Data TF PDU from the
given Stream.
|
void |
serialize(IDicomStream objIDicomStream)
The implementation of this method serialize the P Data TF PDU from
the given Stream.
|
void |
setPDVItemCollection(ISingleCollection<P_DATA_ValueItem> objISinColPdataValueItem)
Sets the PDV item collection.
|
getPDUType, setPDUTypepublic void setPDVItemCollection(ISingleCollection<P_DATA_ValueItem> objISinColPdataValueItem)
objISinColPdataValueItem - public void parse(IDicomStream objIDicomStream) throws java.io.IOException
parse in class PDUobjIDicomStream - Stream on which the DICOM data is available.java.io.IOException - Signals that an IO Exception has occurred.ParseException - Signals that Parse Exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException
public int getLength()
public byte[] getAllCommmandFragments()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.public byte[] getAllDataFragments()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.public boolean isLastDataFragmentPresent()
public boolean isLastCommandFragmentPresent()
public int getFragmentType()
public byte getPresContextID()