org.dicom4j.io.media
Interface MediaStorage


public interface MediaStorage

Media Storage interface (ie: physicial storage)

Since:
Alpha 0.0.2
Author:
Laurent Lecomte

Method Summary
 boolean isStored(String aSOPClassUID)
          Check if a DataSet is stored on the media
 DataSet retrieveDataSet(String aSOPClassUID)
           
 void storeDataSet(CStoreRequestMessage aStoreRequest, TransferSyntax aTransferSyntax, MediaStoreHandler aStoreHandler)
          Store a DataSet on the media
 

Method Detail

isStored

boolean isStored(String aSOPClassUID)
                 throws Exception
Check if a DataSet is stored on the media

Parameters:
aSOPClassUID -
Returns:
Throws:
DicomException
Exception
Since:
Alpha 0.0.3

retrieveDataSet

DataSet retrieveDataSet(String aSOPClassUID)
                        throws Exception,
                               DicomException,
                               FileNotFoundException
Throws:
Exception
DicomException
FileNotFoundException

storeDataSet

void storeDataSet(CStoreRequestMessage aStoreRequest,
                  TransferSyntax aTransferSyntax,
                  MediaStoreHandler aStoreHandler)
                  throws DicomException
Store a DataSet on the media

Parameters:
aStoreRequest - the request
aTransferSyntax - the TransferSyntax to use to write the DataSet
aStoreHandler - the StoreHander
Throws:
DicomException


Copyright © 2009 dicom4j. All Rights Reserved.