public abstract class EssencePartitionImpl extends PartitionImpl implements EssencePartition, MetadataObject
SIZE_UNKNOWN| Constructor and Description |
|---|
EssencePartitionImpl() |
| Modifier and Type | Method and Description |
|---|---|
EssencePartition |
clone()
Create a cloned copy of this partition.
|
long |
fillToEnd() |
EssenceContainer |
getEssenceContainer() |
void |
initializeWritingBody() |
EssenceElement |
readEssenceElement() |
void |
rewind() |
void |
updateSizes()
Update the size of partition based on the best information known at this time.
|
void |
writeEssenceBlock(ByteBuffer essence) |
void |
writeEssenceElementHeader(byte itemType,
byte elementType,
byte elementCount,
byte elementItem,
long length) |
void |
writeEssenceElementHeader(int trackNumber,
long length) |
getActualSize, getInitialSize, getPartitionPack, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, partitionFactory, readHeaderMetadata, readIndexTableSegment, setActualSize, setInitialDataSize, setPartitionPackPadding, toString, writeHeaderMetadata, writeIndexTableSegment, writePartitionPack, writeSingleIndexSegmentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActualSize, getInitialSize, getPartitionPack, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, readHeaderMetadata, readIndexTableSegment, setInitialDataSize, setPartitionPackPadding, writeHeaderMetadata, writeIndexTableSegment, writeSingleIndexSegmentpublic EssenceContainer getEssenceContainer()
getEssenceContainer in interface EssencePartitionpublic EssenceElement readEssenceElement()
readEssenceElement in interface EssencePartitionpublic void initializeWritingBody()
throws NullPointerException,
InsufficientSpaceException,
IOException
initializeWritingBody in interface EssencePartitionNullPointerExceptionInsufficientSpaceExceptionIOExceptionpublic void writeEssenceElementHeader(byte itemType,
byte elementType,
byte elementCount,
byte elementItem,
long length)
throws IOException
writeEssenceElementHeader in interface EssencePartitionIOExceptionpublic void writeEssenceElementHeader(int trackNumber,
long length)
throws IOException
writeEssenceElementHeader in interface EssencePartitionIOExceptionpublic void writeEssenceBlock(ByteBuffer essence) throws IOException
writeEssenceBlock in interface EssencePartitionIOExceptionpublic long fillToEnd()
throws IOException
fillToEnd in interface EssencePartitionIOExceptionpublic void rewind()
public void updateSizes()
PartitionUpdate the size of partition based on the best information known at this time.
updateSizes in interface PartitionupdateSizes in class PartitionImplMXFFile.updatePackSizes()public EssencePartition clone()
PartitionCreate a cloned copy of this partition.
clone in interface EssencePartitionclone in interface Partitionclone in class PartitionImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.