|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
org.dicom4j.network.protocoldataunit.PDataTFPDU
public class PDataTFPDU
P-DATA-TF PDU as defined in DICOM PS 3.8
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
PDataTFPDU()
|
|
PDataTFPDU(BinaryInputStream aStream,
int aLength)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addPresentationDataValueItem(PresentationDataValueItem aPDV)
|
boolean |
containsLastCommandFragment()
|
boolean |
containsLastDataFragment()
|
int |
getLength()
Return the length of the Protocol Data Unit |
String |
getName()
Return the name of the Protocol Data Unit |
LinkedList<PresentationDataValueItem> |
getPresentationDataValues()
|
ProtocolDataUnitType |
getType()
return the type of the Protocol Data Unit
TODO change to ProtocolType |
void |
read(BinaryInputStream aStream,
int aLength)
Read the Protocol Data Unit from a stream |
String |
toString()
the ProtocolDataUnit as a string |
void |
write(BinaryOutputStream aStream)
Write the Protocol Data Unit to a stream |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
checkStream, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PDataTFPDU()
public PDataTFPDU(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
aStream - aLength -
DicomException
IOException| Method Detail |
|---|
public void addPresentationDataValueItem(PresentationDataValueItem aPDV)
public boolean containsLastCommandFragment()
public boolean containsLastDataFragment()
public int getLength()
ProtocolDataUnit
getLength in interface ProtocolDataUnitgetLength in class ProtocolDataUnitpublic String getName()
ProtocolDataUnit
getName in interface ProtocolDataUnitgetName in class ProtocolDataUnitpublic LinkedList<PresentationDataValueItem> getPresentationDataValues()
public ProtocolDataUnitType getType()
ProtocolDataUnit
return the type of the Protocol Data Unit
getType in interface ProtocolDataUnitgetType in class ProtocolDataUnit
public void read(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
ProtocolDataUnit
read in class ProtocolDataUnitDicomException
IOExceptionpublic String toString()
ProtocolDataUnit
toString in interface ProtocolDataUnittoString in class ProtocolDataUnit
public void write(BinaryOutputStream aStream)
throws DicomException,
IOException
ProtocolDataUnit
write in class ProtocolDataUnitDicomException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||