org.dicom4j.data
Class CommandSet

java.lang.Object
  extended by org.dicom4j.data.DataSet
      extended by org.dicom4j.data.CommandSet

public class CommandSet
extends DataSet

DICOM Command Set

Since:
0.0.0
Author:
Laurent Lecomte

Field Summary
static int HAS_DATASET
           
static int NO_DATASET
           
 
Constructor Summary
CommandSet()
          Create a new Command Set
CommandSet(int aCommandType)
           
 
Method Summary
static String datasetTypeToString(int aDataSetType)
          Deprecated.  
 int getCommandField()
           
 int getDataSetType()
           
 String getDataSetTypeToString()
           
 boolean hasDataSet()
           
 void read(byte[] aBytes)
           
 void read(InputStream aStream)
          Deprecated.  
 void setCommandField(int aCommandField)
           
 void setDataSetType(int aDataSetType)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

CommandSet

public CommandSet()
Create a new Command Set


CommandSet

public CommandSet(int aCommandType)
           throws DicomException
Throws:
DicomException
Method Detail

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.