public class MergeConcatenationInstances extends 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 String |
ourAETitle |
Constructor and Description |
---|
MergeConcatenationInstances(String[] srcs,
String dstFolderName,
MessageLogger logger)
Merge instances of a concatenation to (re-)create the source instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] arg)
Merge instances of a concatenation to (re-)create the source instance.
|
protected void |
mergeConcatenationInstances(AttributeList newList,
String mediaFileName) |
protected String ourAETitle
public MergeConcatenationInstances(String[] srcs, String dstFolderName, MessageLogger logger) throws 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 errorsIOException
- if there is a problem reading or writingDicomException
- if there is a problem parsing or extracting required contentpublic static void main(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, String mediaFileName) throws DicomException
DicomException