- All Known Implementing Classes:
- DICOMDIRSinkImpl
public interface IDICOMDIRPathFormatter
IDICOMDIRPathFormater is used for formating long file names.
The implementor of this class receives the long file name, that can be formatted
to short name format e.g. Windows 8.3 file name. The long file path that is received contains the
relative path along with the DICOM file name. This file path contains three DIR names and at last is the file name.
Following is the path structure: PatientName_PatientID/StudyInstanceUID/SeriesInstanceUID/SOPInstanceUID.
User can truncate this path to short file name according to the requirement.
It is necessary that the formatted file path that is returned by the formatPath(String strLongFileName) method
should contain the DICOM File name also.
This interface is used to create the folder structure in DICOMDIR.
The implementor of this class should be set to DICOMDIR class.
When the DataSet is stored in DICOMDIR, then formatPath(String strLongFileName) method of
the implementor class is called with the long file name. The path i.e. returned by this method is
used by DICOMDIR to store the file.