|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.MediaImporter
com.pixelmed.apps.DecompressDicomFiles
public class DecompressDicomFiles
This class copies a set of DICOM files, uncompressing them if compressed.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.pixelmed.dicom.MediaImporter |
|---|
MediaImporter.MediaImporterWithFileChooserDialogThread |
| Field Summary | |
|---|---|
protected String |
outputPath
|
| Fields inherited from class com.pixelmed.dicom.MediaImporter |
|---|
logger, mediaDirectoryPath, progressBar, progressBarUpdater |
| Constructor Summary | |
|---|---|
DecompressDicomFiles(MessageLogger logger)
|
|
| Method Summary | |
|---|---|
protected void |
doSomethingWithDicomFileOnMedia(String mediaFileName)
Do something with the referenced DICOM file that has been encountered. |
protected boolean |
isOKToImport(String sopClassUID,
String transferSyntaxUID)
Check for valid information, and that the file is not compressed or not a suitable storage object for import. |
static void |
main(String[] arg)
Check that DICOM files are present and importable. |
| Methods inherited from class com.pixelmed.dicom.MediaImporter |
|---|
choosePathAndImportDicomFiles, choosePathAndImportDicomFiles, getDirectory, importDicomFiles, logLn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String outputPath
| Constructor Detail |
|---|
public DecompressDicomFiles(MessageLogger logger)
| Method Detail |
|---|
protected boolean isOKToImport(String sopClassUID,
String transferSyntaxUID)
Check for valid information, and that the file is not compressed or not a suitable storage object for import.
isOKToImport in class MediaImportersopClassUID - transferSyntaxUID - protected void doSomethingWithDicomFileOnMedia(String mediaFileName)
Do 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 filepublic static void main(String[] arg)
Check that DICOM files are present and importable.
arg - array of two strings - the input path and the output path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||