public class DICOMDIRSinkImpl extends java.lang.Object implements IDataSink, IDICOMDIRPathFormatter
| Constructor and Description |
|---|
DICOMDIRSinkImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatPath(java.lang.String strLongFileName)
This format long file names to short form.
|
short |
store(DicomMessage objDicomMessage,
java.lang.String strStoragePath)
This function stores the DataSet at the specified location and also make entry of file in DIOCMDIR file.
|
boolean |
store(IDataSet objIDataSet,
java.lang.String strStoragePath)
This function stores the DataSet at the specified location and also make entry of file in DIOCMDIR file.
|
short |
store(IQueryModel objQueryModel,
java.lang.String strPath)
Stores,Creates or Sets the instance in DataBase if available from given Query Model.
|
public short store(DicomMessage objDicomMessage, java.lang.String strStoragePath)
store in interface IDataSinkobjDicomMessage - DicomMessage containing DataSet to be stored in DICOMDIR and to be written in file at path speciifed.strStoragePath - Storage path where the file to be storedpublic boolean store(IDataSet objIDataSet, java.lang.String strStoragePath)
objDicomMessage - DicomMessage containing DataSet to be stored in DICOMDIR and to be written in file at path speciifed.strStoragePath - Storage path where the file to be storedpublic short store(IQueryModel objQueryModel, java.lang.String strPath)
IDataSinkstore in interface IDataSinkobjQueryModel - Instance of Query Model to be stored or created.strPath - string value of Data Base storage path in store request, or Affected SOP Instance UID
in case of NCreate, or Requested SOP Instance UID in case of NSet request.public java.lang.String formatPath(java.lang.String strLongFileName)
formatPath in interface IDICOMDIRPathFormatterstrLongFileName - String value containing long file name.