public class TransferSyntaxItem extends AssociationItem
| Constructor and Description |
|---|
TransferSyntaxItem()
Instantiates a new transfer syntax item.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getItemLength()
This method returns the short value of Transfer Syntax Item.
|
java.lang.String |
getTSName()
Gets the Transfer syntax name.
|
void |
parse(IDicomStream objIDicomStream)
This method parses the Dicom Stream containing Transfer syntax item.
|
void |
populate(java.lang.String strTSname)
This method Populate Transfer Syntax Item.
|
void |
serialize(IDicomStream objIDicomStream)
This method writes the Data Value to the given Stream.
|
void |
setTSName(java.lang.String strTSName)
Sets the Transfer Syntax name.
|
getItemType, setItemTypepublic TransferSyntaxItem()
public java.lang.String getTSName()
public void setTSName(java.lang.String strTSName)
strTSName - String value of Transfer Syntax.public short getItemLength()
getItemLength in class AssociationItempublic void parse(IDicomStream objIDicomStream) throws java.io.IOException
parse in class AssociationItemobjIDicomStream - the dicom stream containing Dicom Data.java.io.IOException - Signals that an I/O exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException
serialize in class AssociationItemobjIDicomStream - object of the stream onto which the Transfer Syntax Item is to be written.java.io.IOException - Signals IOException if IO Operation fails.public void populate(java.lang.String strTSname)
strTSname - String value of transfer syntax name.