Package com.pixelmed.dicom
Class SOPClassDescriptions
java.lang.Object
com.pixelmed.dicom.SOPClassDescriptions
A class of static methods to provide a means of describing SOP Classes with abbreviations and hman-readable descriptions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getAbbreviationFromUID
(String sopClassUID) static String
getDescriptionFromUID
(String sopClassUID) static String
getKeywordFromUID
(String sopClassUID) static String
getUIDFromKeyword
(String keyword) static void
Unit test.
-
Method Details
-
getAbbreviationFromUID
- Parameters:
sopClassUID
- UID of the SOP Class, as a String without trailing zero padding- Returns:
- a short abbreviation describing the SOP Class, or an empty string if none
-
getDescriptionFromUID
- Parameters:
sopClassUID
- UID of the SOP Class, as a String without trailing zero padding- Returns:
- a description of the SOP Class, or an empty string if none
-
getKeywordFromUID
- Parameters:
sopClassUID
- UID of the SOP Class, as a String without trailing zero padding- Returns:
- a keyword identifying the SOP Class, or an empty string if none
-
getUIDFromKeyword
- Parameters:
keyword
- keyword for the SOP Class- Returns:
- a UID identifying the SOP Class, or an empty string if none
-
main
Unit test.
- Parameters:
arg
- ignored
-