public interface IDicomFileReader
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDataContents()
Retrieves the DataContents.
|
IDicomFileHeader |
getDicomFileHeader()
Retrieves the file header.
|
int |
getHeaderLength()
Retrieves the file header length.
|
int |
getPreamble(byte[] preamble)
Retrieves Preamble value for file.
|
IDicomFileHeader |
readHeader()
Reads the Header from file.
|
int getPreamble(byte[] preamble)
throws java.io.IOException
preamble - byte array containing preamble value.java.io.IOException - if Input/Output operation fails.IDicomFileHeader readHeader() throws InvalidHeaderException, java.io.IOException
InvalidHeaderException - if validation of header fails.java.io.IOException - if Input/Output operation fails.byte[] getDataContents()
throws java.io.IOException
java.io.IOException - if Input/Output operation fails.IDicomFileHeader getDicomFileHeader() throws java.io.IOException
java.io.IOException - if Input/Output operation fails.int getHeaderLength()
throws java.io.IOException
java.io.IOException - if Input/Output operation fails.