org.dicom4j.data
Class CommandSet
java.lang.Object
org.dicom4j.data.DataSet
org.dicom4j.data.CommandSet
public class CommandSet
- extends DataSet
DICOM Command Set
- Since:
- 0.0.0
- Author:
- Laurent Lecomte
| Methods inherited from class org.dicom4j.data.DataSet |
addApplicationEntity, addCodeString, addDataSet, addElement, addIntegerString, addModule, addPersonName, addPersonName, addShortString, addUniqueIdentifier, clear, count, getApplicationEntity, getApplicationEntityOrNull, getAttribute, getCodeString, getDataElementsOfSameGroup, getDate, getDoubleValues, getElement, getElementOrNull, getIntegerString, getIterator, getLongString, getLongStringOrNull, getLongText, getLongTextOrNull, getOtherByteString, getOtherByteStringOrNull, getPersonName, getPersonNameOrNull, getSequenceOfItems, getSequenceOfItemsOrNull, getShortString, getTime, getUniqueIdentifier, getUniqueIdentifierOrNull, getUnsignedLong, getUnsignedLongOrNull, getUnsignedShort, hasElement, read, read, removeAll, removeElement, removeElement, toArray, toBytes, toString, write |
HAS_DATASET
public static final int HAS_DATASET
- See Also:
- Constant Field Values
NO_DATASET
public static final int NO_DATASET
- See Also:
- Constant Field Values
CommandSet
public CommandSet()
- Create a new Command Set
CommandSet
public CommandSet(int aCommandType)
throws DicomException
- Throws:
DicomException
datasetTypeToString
@Deprecated
public static final String datasetTypeToString(int aDataSetType)
- Deprecated.
- Return a type of CommandSet as string
- Parameters:
aType - CommandSet type
- Returns:
- type as String
getCommandField
public int getCommandField()
getDataSetType
public int getDataSetType()
getDataSetTypeToString
public String getDataSetTypeToString()
hasDataSet
public boolean hasDataSet()
read
public void read(byte[] aBytes)
throws IOException,
DicomException,
Exception
- Throws:
IOException
DicomException
Exception
read
public void read(InputStream aStream)
throws IOException,
DicomException,
Exception
- Deprecated.
- Parameters:
aStream -
- Throws:
IOException
DicomException
Exception
setCommandField
public void setCommandField(int aCommandField)
throws DicomException
- Throws:
DicomException
setDataSetType
public void setDataSetType(int aDataSetType)
throws DicomException
- Throws:
DicomException
Copyright © 2009 dicom4j. All Rights Reserved.