public class DicomMessage
extends java.lang.Object
| Constructor and Description |
|---|
DicomMessage()
Instantiates a new dicom message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
This method disposes the Dicom Message.
|
ICommandSet |
getCommandSet()
Retrieves Command Set.
|
EnumCommandField |
getCommandType()
Retrieves the command type.
|
IDataSet |
getDataSet()
If DataSet is set through the method setDataSet(IDataSet objIDataSet) then this method returns the DataSet directly.
|
int |
getMaxNegotiationLength(int ilength)
Retrieves the Maximum Negotiation length.
|
java.lang.Object |
getValue(int iGroupNumber,
int iElementNumber)
Retrieves value of DicomValue.
|
void |
setCommandSet(ICommandSet objICommandSet)
Sets the Command Set provided by user.
|
void |
setDataSet(IDataSet objIDataSet)
Sets the data set provided by user.
|
void |
setDataSet(IDicomStream objDicomStream,
ITransferSyntax objTransferSyntax)
Sets the DataSet.
|
void |
setMaxNegotiationLength(int ilength)
Sets the Maximum Negotiation length.
|
boolean |
validate()
Validates the DICOM Message.
|
public void setDataSet(IDicomStream objDicomStream, ITransferSyntax objTransferSyntax)
objTransferSyntax - instance of TransferSyntaxobjDicomStream - instance of DicomStreampublic void setCommandSet(ICommandSet objICommandSet)
objICommandSet - instance of command set to be setpublic EnumCommandField getCommandType()
public ICommandSet getCommandSet()
public void setDataSet(IDataSet objIDataSet)
objIDataSet - instance of IDataSetpublic IDataSet getDataSet() throws java.io.IOException, ParseException
java.io.IOException - Signals that an I/O exception has occurred.ParseException - the parse exceptionpublic void setMaxNegotiationLength(int ilength)
ilength - value of Maximum Negotiation length.public int getMaxNegotiationLength(int ilength)
ilength - value of Maximum Negotiation length.public java.lang.Object getValue(int iGroupNumber,
int iElementNumber)
iGroupNumber - value of Group NumberiElementNumber - value of Element Numberpublic void dispose()
throws java.io.IOException
java.io.IOException - Signals if an IO Exception occurs.public boolean validate()