org.dcm4che.data
Interface DcmParser


public interface DcmParser

Version:
1.0.0
Author:
gunter.zeilinger@tiani.com

Method Summary
 FileFormat detectFileFormat()
           
 DcmDecodeParam getDcmDecodeParam()
           
 javax.imageio.stream.ImageInputStream getImageInputStream()
           
 java.io.InputStream getInputStream()
           
 int getMaxValueLength()
           
 int getReadLength()
           
 int getReadTag()
           
 int getReadVR()
           
 long getStreamPosition()
           
 boolean hasSeenEOF()
           
 long parseCommand()
           
 long parseDataset(DcmDecodeParam param, int stopTag)
           
 long parseDataset(java.lang.String tuid, int stopTag)
           
 long parseDcmFile(FileFormat format, int stopTag)
           
 long parseDcmFile(FileFormat format, int stopTag, int length)
           
 long parseFileMetaInfo()
           
 long parseFileMetaInfo(boolean preamble, DcmDecodeParam param)
           
 int parseHeader()
           
 long parseItemDataset()
           
 void seek(long pos)
           
 void setDcmDecodeParam(DcmDecodeParam decodeParam)
           
 void setDcmHandler(DcmHandler handler)
           
 void setMaxValueLength(int maxValLen)
           
 void setSAXHandler(org.xml.sax.ContentHandler hc, TagDictionary dict)
           
 void setSAXHandler2(org.xml.sax.ContentHandler hc, TagDictionary dict, int[] excludeTags, int excludeValueLengthLimit, java.io.File basedir)
           
 void setStreamPosition(long pos)
           
 void setVRMap(VRMap vrMap)
           
 void unreadHeader()
           
 

Method Detail

getInputStream

java.io.InputStream getInputStream()

getImageInputStream

javax.imageio.stream.ImageInputStream getImageInputStream()

getStreamPosition

long getStreamPosition()

setStreamPosition

void setStreamPosition(long pos)

seek

void seek(long pos)
          throws java.io.IOException
Throws:
java.io.IOException

unreadHeader

void unreadHeader()

setDcmHandler

void setDcmHandler(DcmHandler handler)

setSAXHandler

void setSAXHandler(org.xml.sax.ContentHandler hc,
                   TagDictionary dict)

setSAXHandler2

void setSAXHandler2(org.xml.sax.ContentHandler hc,
                    TagDictionary dict,
                    int[] excludeTags,
                    int excludeValueLengthLimit,
                    java.io.File basedir)

setVRMap

void setVRMap(VRMap vrMap)

setDcmDecodeParam

void setDcmDecodeParam(DcmDecodeParam decodeParam)
                       throws java.io.IOException
Throws:
java.io.IOException

getDcmDecodeParam

DcmDecodeParam getDcmDecodeParam()

setMaxValueLength

void setMaxValueLength(int maxValLen)

getMaxValueLength

int getMaxValueLength()

detectFileFormat

FileFormat detectFileFormat()
                            throws java.io.IOException
Throws:
java.io.IOException

parseHeader

int parseHeader()
                throws java.io.IOException
Throws:
java.io.IOException

parseFileMetaInfo

long parseFileMetaInfo(boolean preamble,
                       DcmDecodeParam param)
                       throws java.io.IOException
Throws:
java.io.IOException

parseFileMetaInfo

long parseFileMetaInfo()
                       throws java.io.IOException
Throws:
java.io.IOException

parseCommand

long parseCommand()
                  throws java.io.IOException
Throws:
java.io.IOException

parseDataset

long parseDataset(java.lang.String tuid,
                  int stopTag)
                  throws java.io.IOException
Throws:
java.io.IOException

parseDataset

long parseDataset(DcmDecodeParam param,
                  int stopTag)
                  throws java.io.IOException
Throws:
java.io.IOException

parseDcmFile

long parseDcmFile(FileFormat format,
                  int stopTag)
                  throws java.io.IOException
Throws:
java.io.IOException

parseDcmFile

long parseDcmFile(FileFormat format,
                  int stopTag,
                  int length)
                  throws java.io.IOException
Throws:
java.io.IOException

parseItemDataset

long parseItemDataset()
                      throws java.io.IOException
Throws:
java.io.IOException

getReadTag

int getReadTag()

getReadVR

int getReadVR()

getReadLength

int getReadLength()

hasSeenEOF

boolean hasSeenEOF()