com.goldenhammer.dicom
Class UIDPrefixes

java.lang.Object
  extended bycom.goldenhammer.dicom.UIDPrefixes

public class UIDPrefixes
extends java.lang.Object

Returns the UID prefix strings for modality vendors.


Method Summary
static UIDPrefixes getInstance()
          Returns the unique instance of this class.
 java.lang.String getUIDPrefix(java.lang.String vendor)
          Returns the appropriate UID Prefix for the specified vendor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UIDPrefixes getInstance()
                               throws java.io.IOException
Returns the unique instance of this class.

Returns:
the unique instance of this class
Throws:
java.io.IOException - if an error occurs during creation of the instance

getUIDPrefix

public java.lang.String getUIDPrefix(java.lang.String vendor)
Returns the appropriate UID Prefix for the specified vendor. If no prefix exists for the specified vendor, null is returned.

Parameters:
vendor - the name of the vendor (case-insensitive)
Returns:
the UID prefix for the specified vendor, or null if none is defined