@Immutable
public final class RandomIndexPack
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RandomIndexPack.BodySIDByteOffsetPair
Object model representing the mapping of the ID of an Essence container segment and its corresponding byte offset
|
Constructor and Description |
---|
RandomIndexPack(ByteProvider byteProvider,
long byteOffset,
long fullPackLength)
Instantiates a new Random index pack.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Long> |
getAllPartitionByteOffsets()
Gets all the partition byte offsets in the MXF file
|
java.lang.Long |
getLength()
Getter for the length of the RandomIndex Pack
|
java.lang.String |
toString()
A method that returns a string representation of a RandomIndex Pack object
|
public RandomIndexPack(ByteProvider byteProvider, long byteOffset, long fullPackLength) throws java.io.IOException
byteProvider
- the mxf byte providerbyteOffset
- the byte offset corresponding to this RandomIndexPackfullPackLength
- the full pack lengthjava.io.IOException
- the iO exceptionpublic java.util.List<java.lang.Long> getAllPartitionByteOffsets()
public java.lang.Long getLength()
public java.lang.String toString()
toString
in class java.lang.Object