Trispark JDT
2.50.13

com.archimed.dicom.dir
Interface DicomDirReader


public interface DicomDirReader

Provides read methods for reading DICOMDIR from files, inputstreams or from a DicomObject.


Method Summary
 DicomDir read(DicomObject dicomObject)
          parses a given DicomObject and returns it as a DicomDir
 DicomDir read(java.io.File file)
          parses the content of the given File and returns it as a DicomDir
 DicomDir read(java.io.File file, long logicalFileEnd)
          parses the content of the given File and returns it as a DicomDir
 DicomDir read(java.io.InputStream in)
          parses a given InputStream and returns it as a DicomDir
 

Method Detail

read

DicomDir read(java.io.File file)
              throws java.io.IOException,
                     DicomException
parses the content of the given File and returns it as a DicomDir

Parameters:
file - File containing a dicomdir
Returns:
a DicomDir based on the given File
Throws:
java.io.IOException
DicomException

read

DicomDir read(java.io.File file,
              long logicalFileEnd)
              throws java.io.IOException,
                     DicomException
parses the content of the given File and returns it as a DicomDir

Parameters:
file - File containing a dicomdir
logicalFileEnd - the actual length of the file if different from the physical length
Returns:
a DicomDir based on the given File
Throws:
java.io.IOException
DicomException

read

DicomDir read(java.io.InputStream in)
              throws java.io.IOException,
                     DicomException
parses a given InputStream and returns it as a DicomDir

Parameters:
in - InputStream to a stream containing a dicomdir
Returns:
a DicomDir
Throws:
java.io.IOException
DicomException

read

DicomDir read(DicomObject dicomObject)
              throws DicomException
parses a given DicomObject and returns it as a DicomDir

Parameters:
dicomObject - DicomObject containing a dicomdir
Returns:
a DicomDir
Throws:
DicomException

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.