protected class ConvertSRTCodesToSCT.OurMediaImporter extends MediaImporter
MediaImporter.MediaImporterWithFileChooserDialogThread, MediaImporter.OurReadTerminationStrategylogger, mediaDirectoryPath, progressBar, progressBarUpdater, terminateAfterIdentifyingGroup| Constructor and Description |
|---|
OurMediaImporter(String dstFolderName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSomethingWithDicomFileOnMedia(String srcFileName)
Do something with the referenced DICOM file that has been encountered.
|
choosePathAndImportDicomFiles, choosePathAndImportDicomFiles, doSomethingWithDicomFileOnMedia, doSomethingWithUnwantedFileOnMedia, getDirectory, importDicomFiles, isOKToImport, logLn, mainpublic OurMediaImporter(String dstFolderName)
protected void doSomethingWithDicomFileOnMedia(String srcFileName)
MediaImporterDo something with the referenced DICOM file that has been encountered.
This method needs to be implemented in a sub-class to do anything useful,
unless doSomethingWithDicomFileOnMedia(String mediaFileName,String transferSyntaxUID,String sopClassUID) has been overridden instead.
The default method does nothing.
"Wanted" files are those that are DICOM files for which isOKToImport(String sopClassUID,String transferSyntaxUID) returns true.
This method does not define any exceptions and hence must handle any errors locally.
doSomethingWithDicomFileOnMedia in class MediaImportersrcFileName - the fully qualified path name to a DICOM file