Package gov.nih.mipav.model.dicomcomm
Class DICOM_RTC_Generator
- java.lang.Object
-
- gov.nih.mipav.model.dicomcomm.DICOM_RTC_Generator
-
public class DICOM_RTC_Generator extends java.lang.Object
This class generates the DICOM_RTC class file from the master DICOM tag list file (whose entries are obtained through calls to DicomDictionary). The methods in this class are used infrequently to re-generate the DICOM_RTC class, such as when the default dicom dictionary entries are changed.
This DICOM communication package was originally based on the Java Dicom Package, whose license is below:Java Dicom Package (com.zmed.dicom) Copyright (c) 1996-1997 Z Medical Imaging Systems, Inc. This software is provided, as is, for non-commercial educational purposes only. Use or incorporation of this software or derivative works in commercial applications requires written consent from Z Medical Imaging Systems, Inc. Z MEDICAL IMAGING SYSTEMS MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR CONFORMANCE TO ANY SPECIFICATION OR STANDARD. Z MEDICAL IMAGING SYSTEMS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING OR MODIFYING THIS SOFTWARE OR ITS DERIVATIVES. ============================================================================= This software package is implemented similarly to the UC Davis public domain C++ DICOM implementation which contains the following copyright notice: Copyright (C) 1995, University of California, Davis THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND THE UNIVERSITY OF CALIFORNIA DOES NOT MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH THE USER. Copyright of the software and supporting documentation is owned by the University of California, and free access is hereby granted as a license to use this software, copy this software and prepare derivative works based upon this software. However, any distribution of this software source code or supporting documentation or derivative works (source code and supporting documentation) must include this copyright notice. The UC Davis C++ source code is publicly available from the following anonymous ftp site: ftp://imrad.ucdmc.ucdavis.edu/pub/dicom/UCDMC/
- See Also:
DicomDictionary
,DICOM_RTC
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
createDICOMFilesCommandLineHelp
DOCUMENT ME!static java.lang.String
default_RTC_name
Default output file name for the RTC source output, "DICOM_RTC.java".protected static java.lang.String
defaultRTCclassName
Default classname for the generated file being used in the Run Time Class, which allows access to information in the DICOM data dictionary.private static java.lang.String
genRTCclassRTCaddTypeHashComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCaddTypeHashMethod
DOCUMENT ME!private static java.lang.String
genRTCclassRTCarrayDef
DOCUMENT ME!private static java.lang.String
genRTCclassRTCattributeDefComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCdddef0
DOCUMENT ME!private static java.lang.String
genRTCclassRTCdefineHashtables
DOCUMENT ME!private static java.lang.String
genRTCclassRTCEntry
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetDescriptionComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetDescriptionMethod
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetElementComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetElementMethod
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetGroupComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetGroupMethod
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetIndexComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetIndexMethod
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetTypeCodeComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCgetTypeCodeMethod
DOCUMENT ME!private static java.lang.String
genRTCclassRTCName
DOCUMENT ME!private static java.lang.String
genRTCclassRTCsetRTCcodeName
DOCUMENT ME!private static java.lang.String
genRTCclassRTCsetUnkownRTCcodeName
DOCUMENT ME!private static java.lang.String
genRTCclassRTCstaticSearchGroup
DOCUMENT ME!private static java.lang.String
genRTCclassRTCtypecodeComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCtypedef0
DOCUMENT ME!private static java.lang.String
genRTCclassRTCtypedefGeneral
DOCUMENT ME!private static java.lang.String
genRTCclassRTCunknownDDTypeComments
DOCUMENT ME!private static java.lang.String
genRTCclassRTCunknownDDTypeMethod
DOCUMENT ME!private static java.lang.String
genRTCimports
DOCUMENT ME!private static java.lang.String
genRTCjavadocComments
DOCUMENT ME!private static java.lang.String
genRTCpackage
DOCUMENT ME!private static java.lang.String
genRTCwarning
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description DICOM_RTC_Generator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.util.Hashtable
hashKeywordEntries()
DOCUMENT ME!private static java.util.Hashtable
hashRTCentries(java.util.Hashtable kwEntries)
DOCUMENT ME!private static java.util.Hashtable
hashVREntries()
Builds a hashtable of"TYPE_"+FileDicomTag.getVR
.static void
writeRTCfile(java.io.File outputFile)
DOCUMENT ME!
-
-
-
Field Detail
-
defaultRTCclassName
protected static final java.lang.String defaultRTCclassName
Default classname for the generated file being used in the Run Time Class, which allows access to information in the DICOM data dictionary. It is created for use with the dicomcomm package, a UC-Berkeley-originated collection objects.- See Also:
- Constant Field Values
-
default_RTC_name
public static java.lang.String default_RTC_name
Default output file name for the RTC source output, "DICOM_RTC.java".
-
genRTCwarning
private static final java.lang.String genRTCwarning
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCpackage
private static final java.lang.String genRTCpackage
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCimports
private static final java.lang.String genRTCimports
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCEntry
private static final java.lang.String genRTCclassRTCEntry
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCjavadocComments
private static final java.lang.String genRTCjavadocComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCName
private static final java.lang.String genRTCclassRTCName
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCtypedef0
private static final java.lang.String genRTCclassRTCtypedef0
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCtypedefGeneral
private static final java.lang.String genRTCclassRTCtypedefGeneral
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCattributeDefComments
private static final java.lang.String genRTCclassRTCattributeDefComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCdddef0
private static final java.lang.String genRTCclassRTCdddef0
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCdefineHashtables
private static final java.lang.String genRTCclassRTCdefineHashtables
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCarrayDef
private static final java.lang.String genRTCclassRTCarrayDef
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCtypecodeComments
private static final java.lang.String genRTCclassRTCtypecodeComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCsetRTCcodeName
private static final java.lang.String genRTCclassRTCsetRTCcodeName
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCsetUnkownRTCcodeName
private static final java.lang.String genRTCclassRTCsetUnkownRTCcodeName
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCaddTypeHashComments
private static final java.lang.String genRTCclassRTCaddTypeHashComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCaddTypeHashMethod
private static final java.lang.String genRTCclassRTCaddTypeHashMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCstaticSearchGroup
private static final java.lang.String genRTCclassRTCstaticSearchGroup
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetIndexComments
private static final java.lang.String genRTCclassRTCgetIndexComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetIndexMethod
private static final java.lang.String genRTCclassRTCgetIndexMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCunknownDDTypeComments
private static final java.lang.String genRTCclassRTCunknownDDTypeComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCunknownDDTypeMethod
private static final java.lang.String genRTCclassRTCunknownDDTypeMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetGroupComments
private static final java.lang.String genRTCclassRTCgetGroupComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetGroupMethod
private static final java.lang.String genRTCclassRTCgetGroupMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetElementComments
private static final java.lang.String genRTCclassRTCgetElementComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetElementMethod
private static final java.lang.String genRTCclassRTCgetElementMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetTypeCodeComments
private static final java.lang.String genRTCclassRTCgetTypeCodeComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetTypeCodeMethod
private static final java.lang.String genRTCclassRTCgetTypeCodeMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetDescriptionComments
private static final java.lang.String genRTCclassRTCgetDescriptionComments
DOCUMENT ME!- See Also:
- Constant Field Values
-
genRTCclassRTCgetDescriptionMethod
private static final java.lang.String genRTCclassRTCgetDescriptionMethod
DOCUMENT ME!- See Also:
- Constant Field Values
-
createDICOMFilesCommandLineHelp
private static final java.lang.String createDICOMFilesCommandLineHelp
DOCUMENT ME!- See Also:
- Constant Field Values
-
-
Method Detail
-
writeRTCfile
public static void writeRTCfile(java.io.File outputFile) throws java.io.IOException, java.io.FileNotFoundException
DOCUMENT ME!- Parameters:
outputFile
- DOCUMENT ME!- Throws:
java.io.IOException
- DOCUMENT ME!java.io.FileNotFoundException
- DOCUMENT ME!
-
hashKeywordEntries
private static java.util.Hashtable hashKeywordEntries()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
hashRTCentries
private static java.util.Hashtable hashRTCentries(java.util.Hashtable kwEntries)
DOCUMENT ME!- Parameters:
kwEntries
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
hashVREntries
private static java.util.Hashtable hashVREntries()
Builds a hashtable of"TYPE_"+FileDicomTag.getVR
.- Returns:
- DOCUMENT ME!
-
-