java.lang.Object
non_com.media.jai.codec.StreamSegmentMapperImpl
- All Implemented Interfaces:
- StreamSegmentMapper
- class StreamSegmentMapperImpl
- extends java.lang.Object
- implements StreamSegmentMapper
An implementation of the StreamSegmentMapper interface that
requires an explicit list of the starting locations and lengths of the
source segments.
|
Constructor Summary |
StreamSegmentMapperImpl(long[] segmentPositions,
int[] segmentLengths)
Constructor for the StreamSegmentMapperImpl object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
segmentPositions
private long[] segmentPositions
segmentLengths
private int[] segmentLengths
StreamSegmentMapperImpl
public StreamSegmentMapperImpl(long[] segmentPositions,
int[] segmentLengths)
- Constructor for the StreamSegmentMapperImpl object
getStreamSegment
public StreamSegment getStreamSegment(long position,
int length)
- Gets the StreamSegment attribute of the StreamSegmentMapperImpl object
- Specified by:
getStreamSegment in interface StreamSegmentMapper
getStreamSegment
public void getStreamSegment(long position,
int length,
StreamSegment seg)
- Gets the StreamSegment attribute of the StreamSegmentMapperImpl object
- Specified by:
getStreamSegment in interface StreamSegmentMapper