public class TransferSyntaxFromName extends Object
A class to lookup the DICOM Transfer Syntax UID from a string name.
Modifier and Type | Field and Description |
---|---|
protected static Map<String,String> |
keywordByUID |
protected static Map<String,String> |
uidByKeyword |
Modifier and Type | Method and Description |
---|---|
static String |
getKeywordFromUID(String transferSyntaxUID) |
static String |
getUID(String name)
Get the Transfer Syntax UID from the name.
|
static void |
main(String[] arg)
Test.
|
public static String getKeywordFromUID(String transferSyntaxUID)
transferSyntaxUID
- UID of the Transfer Syntax, as a String without trailing zero paddingpublic static String getUID(String name)
Get the Transfer Syntax UID from the name.
name
- a string name of the transfer syntaxpublic static void main(String[] arg)
Test.
arg
- none