public class StandardMethods
extends java.lang.Object
| Constructor and Description |
|---|
StandardMethods() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Integer |
createIntKey(int iGroupNumber,
int iElementNumber)
This method creates the hash key with combination of group number and element number.
|
static java.lang.String |
createKey(int iGroupNumber,
int iElementNumber)
This method creates the hash key with combination of group number and element number.
|
static java.lang.String |
generateUUID()
This method generates the unique identifier.
|
static EnumCommandField |
getCommandType(short shCommandField)
Gets the command type.
|
static EnumPDUType |
getEnumPDUType(byte b)
Gets the enum pdu type.
|
static EnumCommandField |
getExpectedCommandField(EnumCommandField enumCommandField) |
static int |
getiVRtype(java.lang.String strVRType)
Retrieves the integer value of VR type.
|
static EnumSOPClassUIDs |
getSOPClassUID(java.lang.String strSOPClassUID)
Retrieves the Enum value of SOP Class UID.
|
static EnumSOPInstanceStatus |
getSOPInstanceStatus(java.lang.String strSOPInstanceStatus)
Retrieves the Enum value of SOP Class UID.
|
static java.lang.String |
getStrVRtype(int iVRType)
Retrieves the String value of VR type.
|
static java.lang.String |
getTempDirectoryStorage()
Retrieves the temp directory storage path ( "java.io.tmpdir")
|
static EnumItemType |
getUserInfoItemType(byte bUserInfoItemType)
Gets the enum user info item type.
|
public static EnumCommandField getExpectedCommandField(EnumCommandField enumCommandField)
public static java.lang.String getTempDirectoryStorage()
public static int getiVRtype(java.lang.String strVRType)
strVRType - corresponding string value for VR Type.public static EnumSOPClassUIDs getSOPClassUID(java.lang.String strSOPClassUID)
strSOPClassUID - corresponding String value for SOP Class UID.public static EnumSOPInstanceStatus getSOPInstanceStatus(java.lang.String strSOPInstanceStatus)
strSOPClassUID - corresponding String value for SOP Class UID.public static java.lang.String getStrVRtype(int iVRType)
iVRType - corresponding int value for VR Type.public static java.lang.String createKey(int iGroupNumber,
int iElementNumber)
iGroupNumber - integer value of group number.iElementNumber - integer value of element number.public static java.lang.Integer createIntKey(int iGroupNumber,
int iElementNumber)
iGroupNumber - integer value of group number.iElementNumber - integer value of element number.public static java.lang.String generateUUID()
public static EnumCommandField getCommandType(short shCommandField)
shCommandField - short value of command fieldpublic static EnumPDUType getEnumPDUType(byte b)
b - byte value of the PDU type.public static EnumItemType getUserInfoItemType(byte bUserInfoItemType)
bUserInfoItemType - byte value of User Info Item Type.