protected class DownloadOrTransmit.OurMediaImporter extends MediaImporter
MediaImporter.MediaImporterWithFileChooserDialogThread| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canUseBzip |
logger, mediaDirectoryPath, progressBar, progressBarUpdater| Constructor and Description |
|---|
DownloadOrTransmit.OurMediaImporter(MessageLogger logger,
javax.swing.JProgressBar progressBar) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSomethingWithDicomFileOnMedia(java.lang.String mediaFileName)
Do something with the referenced DICOM file that has been encountered.
|
protected boolean |
isOKToImport(java.lang.String sopClassUID,
java.lang.String transferSyntaxUID)
Check for valid information, and that the file is not compressed or not a suitable storage object for import.
|
choosePathAndImportDicomFiles, choosePathAndImportDicomFiles, getDirectory, importDicomFiles, logLn, mainpublic DownloadOrTransmit.OurMediaImporter(MessageLogger logger, javax.swing.JProgressBar progressBar)
protected void doSomethingWithDicomFileOnMedia(java.lang.String mediaFileName)
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. The default method does nothing.
This method does not define any exceptions and hence must handle any errors locally.
doSomethingWithDicomFileOnMedia in class MediaImportermediaFileName - the fully qualified path name to a DICOM fileprotected boolean isOKToImport(java.lang.String sopClassUID,
java.lang.String transferSyntaxUID)
MediaImporterCheck for valid information, and that the file is not compressed or not a suitable storage object for import.
isOKToImport in class MediaImporter