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 StringgetAbbreviationFromUID(String sopClassUID) static StringgetDescriptionFromUID(String sopClassUID) static StringgetKeywordFromUID(String sopClassUID) static StringgetUIDFromKeyword(String keyword) static voidUnit 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
-