public interface BodyPartition extends Cloneable, EssencePartition
Represents a body partition of an MXF file, providing access to its constituent parts. A body partition may contain header metadata, an index table segment and part or all of a body stream. A sequence of body partitions make up the middle of an MXF file, between the mandatory header partition at the start and optional footer partition at the end.
HeaderPartition,
FooterPartitionSIZE_UNKNOWN| Modifier and Type | Method and Description |
|---|---|
BodyPartition |
clone()
Create a cloned copy of this body partition.
|
BodyPartitionPack |
getPartitionPack()
Returns the body partition pack that describes the details of this body partition, including
what it contains and its size.
|
void |
setPartitionPack(BodyPartitionPack partitionPack)
Set the body partition pack that describes this body partition, including
what it contains and its size.
|
fillToEnd, getEssenceContainer, initializeWritingBody, readEssenceElement, writeEssenceBlock, writeEssenceElementHeader, writeEssenceElementHeadergetActualSize, getInitialSize, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, readHeaderMetadata, readIndexTableSegment, setInitialDataSize, setPartitionPackPadding, updateSizes, writeHeaderMetadata, writeIndexTableSegment, writeSingleIndexSegmentBodyPartitionPack getPartitionPack()
Returns the body partition pack that describes the details of this body partition, including what it contains and its size.
getPartitionPack in interface PartitionHeaderPartition.getPartitionPack(),
FooterPartition.getPartitionPack(),
getPartitionPack()void setPartitionPack(BodyPartitionPack partitionPack) throws NullPointerException
Set the body partition pack that describes this body partition, including what it contains and its size.
partitionPack - Body partition pack describing this body partition.NullPointerException - Cannot set the body partition pack with a null
value.BodyPartition clone()
Create a cloned copy of this body partition.
clone in interface EssencePartitionclone in interface Partition(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.