com.goldenhammer.dicom
Interface CStoreImageCommand

All Superinterfaces:
Command
All Known Implementing Classes:
CStoreImage

public interface CStoreImageCommand
extends Command

Interface to specify common methods for CStore commands.


Method Summary
 void setHeaderData(DICOMHeaderData headerData)
          Sets the DICOM header data for the image to be stored.
 void setImage(java.io.File imageFile)
          Sets the image for this command to store.
 
Methods inherited from interface com.goldenhammer.dicom.Command
close, execute
 

Method Detail

setHeaderData

public void setHeaderData(DICOMHeaderData headerData)
Sets the DICOM header data for the image to be stored.

Parameters:
headerData - the new header data for the image.

setImage

public void setImage(java.io.File imageFile)
              throws java.lang.Exception
Sets the image for this command to store.

Parameters:
imageFile - the file where the image is located
Throws:
java.lang.Exception - if any problems are encountered opening the file