public class MergeConcatenationInstances
extends java.lang.Object
A class containing an application for merging instances of a concatenation to (re-)create the source instance.
Modifier and Type | Class and Description |
---|---|
protected class |
MergeConcatenationInstances.OurMediaImporter |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ourAETitle |
Constructor and Description |
---|
MergeConcatenationInstances(java.lang.String[] srcs,
java.lang.String dstFolderName,
MessageLogger logger)
Merge instances of a concatenation to (re-)create the source instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] arg)
Merge instances of a concatenation to (re-)create the source instance.
|
protected void |
mergeConcatenationInstances(AttributeList newList,
java.lang.String mediaFileName) |
public MergeConcatenationInstances(java.lang.String[] srcs, java.lang.String dstFolderName, MessageLogger logger) throws java.io.IOException, DicomException
Merge instances of a concatenation to (re-)create the source instance.
srcs
- source folders or DICOMDIRsdstFolderName
- destination folderlogger
- logger to send progress, warnings and errorsjava.io.IOException
- if there is a problem reading or writingDicomException
- if there is a problem parsing or extracting required contentpublic static void main(java.lang.String[] arg)
Merge instances of a concatenation to (re-)create the source instance.
arg
- array of 2 or more strings - one or more source folders or DICOMDIR (to merge), and a destination folderprotected void mergeConcatenationInstances(AttributeList newList, java.lang.String mediaFileName) throws DicomException
DicomException