public class UID
extends java.lang.Object
TransferSyntax,
SOPClass, MetaSOPClass and SOPInstance (depending on their type).
DICOMApplicationContextName is found here.UIDEntry| Modifier and Type | Field and Description |
|---|---|
static int |
DICOMApplicationContextName |
static int |
DICOMControlledTerminology |
static int |
UnknownUID |
| Constructor and Description |
|---|
UID() |
| Modifier and Type | Method and Description |
|---|---|
static UIDEntry |
getUIDEntry(int i)
Returns a
UIDEntry for a given constant. |
static UIDEntry |
getUIDEntry(java.lang.String value)
Returns a
UIDEntry for a given UID value. |
static UIDEntry |
getUIDEntryForShortName(java.lang.String shortName)
Returns a
UIDEntry for a given short code. |
public static final int UnknownUID
public static final int DICOMApplicationContextName
public static final int DICOMControlledTerminology
public static UIDEntry getUIDEntry(int i) throws IllegalValueException
UIDEntry for a given constant.IllegalValueExceptionpublic static UIDEntry getUIDEntry(java.lang.String value) throws UnknownUIDException
UIDEntry for a given UID value.
Example: getUIDEntry("1.2.840.10008.1.2") returns the UIDEntry for Implicit VR Little Endian TransferSyntax.UnknownUIDExceptionpublic static UIDEntry getUIDEntryForShortName(java.lang.String shortName) throws UnknownUIDException
UIDEntry for a given short code.
Example: getUIDEntry("SC") returns the UIDEntry for Secondary Capture Image Storage SOP Class.
shortName - the shortNameUnknownUIDException - when no UIDEntry is found for the specified shortname