Package com.pixelmed.apps
Class DoseUtility.OurMediaImporter
java.lang.Object
com.pixelmed.dicom.MediaImporter
com.pixelmed.apps.DoseUtility.OurMediaImporter
- Enclosing class:
- DoseUtility
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmed.dicom.MediaImporter
MediaImporter.MediaImporterWithFileChooserDialogThread, MediaImporter.OurReadTerminationStrategy -
Field Summary
FieldsFields inherited from class com.pixelmed.dicom.MediaImporter
logger, mediaDirectoryPath, progressBar, progressBarUpdater, terminateAfterIdentifyingGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoSomethingWithDicomFileOnMedia(String mediaFileName) Do something with the referenced DICOM file that has been encountered.protected booleanisOKToImport(String sopClassUID, String transferSyntaxUID) Check for valid information, and that the file is not compressed or not a suitable storage object for import.Methods inherited from class com.pixelmed.dicom.MediaImporter
choosePathAndImportDicomFiles, choosePathAndImportDicomFiles, doSomethingWithDicomFileOnMedia, doSomethingWithUnwantedFileOnMedia, getDirectory, importDicomFiles, logLn, main
-
Field Details
-
canUseBzip
protected boolean canUseBzip
-
-
Constructor Details
-
OurMediaImporter
-
-
Method Details
-
doSomethingWithDicomFileOnMedia
Description copied from class: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.
- Overrides:
doSomethingWithDicomFileOnMediain classMediaImporter- Parameters:
mediaFileName- the fully qualified path name to a DICOM file
-
isOKToImport
Description copied from class:MediaImporterCheck for valid information, and that the file is not compressed or not a suitable storage object for import.
- Overrides:
isOKToImportin classMediaImporter- Parameters:
sopClassUID- the SOP Class UID of the filetransferSyntaxUID- the Transfer Syntax UID of the file- Returns:
- true if is suitable
-