public class DICOMDIR
extends java.lang.Object
| Constructor and Description |
|---|
DICOMDIR(java.lang.String strDirectoryPath)
Instantiates DICOMDIR.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
find(IDataSet objSourceDataSet,
ISingleCollection<IDataSet> objRstDataSetCollection)
This method finds the value of given data elements in the Dataset according to the match of key value.
|
cdac.medinfo.sdk.dcm30_04.services.dicomdir.EnumDICOMDIRMode |
getDICOMDIRMode()
This function retrieves the value of DICOMDIR Mode.
|
boolean |
isDICOMDIRExist()
This function tells whether the DICOMDIR file exists or not.
|
IDataSet |
read()
This function parses the DICOMDIR file and returns Data Set.
|
boolean |
retrieve(IDataSet objSourceDataSet,
ISingleCollection<IDataSet> objRstDataSetCollection)
This method finds the data set in the DICOMDIR according to key value.
|
void |
setDICOMDIRMode(cdac.medinfo.sdk.dcm30_04.services.dicomdir.EnumDICOMDIRMode enumDICOMDIRMode)
This function sets the DICOMDIR Mode.
|
void |
setIDICOMDIRPathFormater(IDICOMDIRPathFormatter objIDICOMDIRPathFormater)
This function sets the DICOMDIR Path Formater.
|
void |
setReferencedFileID(java.lang.String strReferencedFileID)
This function sets the referenced file id , if the Dicom files are stored in Folder structure.
|
void |
write(IDataSet objIDataSet)
This function writes the information in the DICOMDIR file as well serializes the data set.
|
void |
writeDICOMDIRFile(IDataSet objIDataSet)
This function writes the DataSet information in the DICOMDIR file.
|
public DICOMDIR(java.lang.String strDirectoryPath)
throws java.io.IOException
strDirectoryPath - String value containing Directory Path in which DICOMDIR file has to be created.java.io.IOException - Signals if any IO Exception occurs.public boolean isDICOMDIRExist()
public IDataSet read() throws DICOMDIRException, java.io.IOException
ParseException - Signals if parsing fails.java.io.IOException - Signals if IOException occurs.vDICOMDIRExceptionpublic void write(IDataSet objIDataSet) throws java.io.IOException, DICOMDIRException
objIDataSet - Instance of Data Set.java.io.IOException - signals if an IOException Occurs.DICOMDIRException - signals if DICOMDIRException occurs.public void writeDICOMDIRFile(IDataSet objIDataSet) throws java.io.IOException, DICOMDIRException
objIDataSet - instance of DataSet that is to be added to the DICOMDIR File.java.io.IOException - Signals if an IOException occurs.DICOMDIRExceptionpublic boolean find(IDataSet objSourceDataSet, ISingleCollection<IDataSet> objRstDataSetCollection) throws java.io.IOException
objSourceDataSet - instance of DataSet containing key value and other data elements that are to be retrieved.objRstDataSetCollection - DataSet collection containing the matches.java.io.IOException - Signals if IOException occurs.public boolean retrieve(IDataSet objSourceDataSet, ISingleCollection<IDataSet> objRstDataSetCollection) throws java.io.IOException
objSourceDataSet - instance of data set containing key value.objRstDataSetCollection - data set collection containing all matched data set.java.io.IOException - Signals if IOException occurs.public void setReferencedFileID(java.lang.String strReferencedFileID)
public void setIDICOMDIRPathFormater(IDICOMDIRPathFormatter objIDICOMDIRPathFormater)
IDICOMDIRPathFormatter - instance of DICOM File Formater.public void setDICOMDIRMode(cdac.medinfo.sdk.dcm30_04.services.dicomdir.EnumDICOMDIRMode enumDICOMDIRMode)
enumDICOMDIRMode - Enum value specifying storage mode in DICOMDIRpublic cdac.medinfo.sdk.dcm30_04.services.dicomdir.EnumDICOMDIRMode getDICOMDIRMode()