Package com.pixelmed.display
Class DicomImageViewer.OurDatabaseMediaImporter
java.lang.Object
com.pixelmed.dicom.MediaImporter
com.pixelmed.database.DatabaseMediaImporter
com.pixelmed.display.DicomImageViewer.OurDatabaseMediaImporter
- Enclosing class:
- DicomImageViewer
-
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.database.DatabaseMediaImporter
databaseInformationModel, savedInstancesFolder, storedFilePathStrategyFields inherited from class com.pixelmed.dicom.MediaImporter
logger, mediaDirectoryPath, progressBar, progressBarUpdater, terminateAfterIdentifyingGroup -
Constructor Summary
ConstructorsConstructorDescriptionOurDatabaseMediaImporter(String mediaDirectoryPath, File savedInstancesFolder, StoredFilePathStrategy storedFilePathStrategy, DatabaseInformationModel databaseInformationModel, MessageLogger logger, boolean acceptAnyTransferSyntax) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.database.DatabaseMediaImporter
doSomethingWithDicomFileOnMediaMethods inherited from class com.pixelmed.dicom.MediaImporter
choosePathAndImportDicomFiles, choosePathAndImportDicomFiles, doSomethingWithDicomFileOnMedia, doSomethingWithUnwantedFileOnMedia, getDirectory, importDicomFiles, logLn, main
-
Field Details
-
canUseBzip
protected boolean canUseBzip
-
-
Constructor Details
-
OurDatabaseMediaImporter
public OurDatabaseMediaImporter(String mediaDirectoryPath, File savedInstancesFolder, StoredFilePathStrategy storedFilePathStrategy, DatabaseInformationModel databaseInformationModel, MessageLogger logger, boolean acceptAnyTransferSyntax)
-
-
Method Details
-
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
-