Package com.pixelmed.apps
Class MergeConcatenationInstances
java.lang.Object
com.pixelmed.apps.MergeConcatenationInstances
A class containing an application for merging instances of a concatenation to (re-)create the source instance.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMergeConcatenationInstances
(String[] srcs, String dstFolderName, MessageLogger logger) Merge instances of a concatenation to (re-)create the source instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Merge instances of a concatenation to (re-)create the source instance.protected void
mergeConcatenationInstances
(AttributeList newList, String mediaFileName)
-
Field Details
-
ourAETitle
-
-
Constructor Details
-
MergeConcatenationInstances
public MergeConcatenationInstances(String[] srcs, String dstFolderName, MessageLogger logger) throws IOException, DicomException Merge instances of a concatenation to (re-)create the source instance.
- Parameters:
srcs
- source folders or DICOMDIRsdstFolderName
- destination folderlogger
- logger to send progress, warnings and errors- Throws:
IOException
- if there is a problem reading or writingDicomException
- if there is a problem parsing or extracting required content
-
-
Method Details
-
mergeConcatenationInstances
protected void mergeConcatenationInstances(AttributeList newList, String mediaFileName) throws DicomException - Throws:
DicomException
-
main
Merge instances of a concatenation to (re-)create the source instance.
- Parameters:
arg
- array of 2 or more strings - one or more source folders or DICOMDIR (to merge), and a destination folder
-