org.dcm4che2.imageio
Class ItemParser
java.lang.Object
org.dcm4che2.imageio.ItemParser
- All Implemented Interfaces:
- com.sun.media.imageio.stream.StreamSegmentMapper
public class ItemParser
- extends java.lang.Object
- implements com.sun.media.imageio.stream.StreamSegmentMapper
- Since:
- Aug 6, 2007
- Version:
- $Revision$ $Date$
- Author:
- Gunter Zeilinger
Constructor Summary |
ItemParser(DicomInputStream dis,
javax.imageio.stream.ImageInputStream iis,
int numberOfFrames,
java.lang.String tsuid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemParser
public ItemParser(DicomInputStream dis,
javax.imageio.stream.ImageInputStream iis,
int numberOfFrames,
java.lang.String tsuid)
throws java.io.IOException
- Throws:
java.io.IOException
getNumberOfDataFragments
public int getNumberOfDataFragments()
getStreamSegment
public com.sun.media.imageio.stream.StreamSegment getStreamSegment(long pos,
int len)
- Specified by:
getStreamSegment
in interface com.sun.media.imageio.stream.StreamSegmentMapper
getStreamSegment
public void getStreamSegment(long pos,
int len,
com.sun.media.imageio.stream.StreamSegment seg)
- Specified by:
getStreamSegment
in interface com.sun.media.imageio.stream.StreamSegmentMapper
seekFrame
public void seekFrame(com.sun.media.imageio.stream.SegmentedImageInputStream siis,
int frame)
throws java.io.IOException
- Throws:
java.io.IOException
readFrame
public byte[] readFrame(com.sun.media.imageio.stream.SegmentedImageInputStream siis,
int frame)
throws java.io.IOException
- Throws:
java.io.IOException
seekFooter
public void seekFooter()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011 dcm4che. All Rights Reserved.