public interface MultipleDescriptor extends AAFFileDescriptor
Specifies the description of content data associated with a single file source package that contains multiple tracks of essence. Each file descriptor within a multiple descriptor should set the linked track property that links it to the source track that it describes.
| Modifier and Type | Method and Description |
|---|---|
void |
appendFileDescriptor(AAFFileDescriptor fileDescriptor)
Appends a file descriptor to the list of file descriptors of this multiple
descriptor.
|
MultipleDescriptor |
clone()
Create a cloned copy of this multiple descriptor.
|
int |
countFileDescriptors()
Returns the number of file descriptors of this multiple
descriptor.
|
AAFFileDescriptor |
getFileDescriptorAt(int index)
Returns the file descriptor at the given index through the list of file descriptors
of this multiple descriptor.
|
List<? extends AAFFileDescriptor> |
getFileDescriptors()
Returns a copy of the list of file descriptors of this multiple descriptor.
|
void |
insertFileDescriptorAt(int index,
AAFFileDescriptor fileDescriptor)
Insert a file descriptor into the list of file descriptors of this multiple descriptor
at the given index.
|
void |
prependFileDescriptor(AAFFileDescriptor fileDescriptor)
Prepends a file descriptor to the list of file descriptors of this multiple
essence descriptor.
|
void |
removeFileDescriptorAt(int index)
Removes the file descriptor at the given index from the list of file descriptors
of this multiple descriptor.
|
getCodec, getContainerFormat, getEssenceLength, getLinkedTrackID, getSampleRate, setCodec, setContainerFormat, setEssenceLength, setLinkedTrackID, setSampleRateappendLocator, appendSubDescriptor, clearLocators, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAtaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexint countFileDescriptors()
Returns the number of file descriptors of this multiple descriptor.
void appendFileDescriptor(AAFFileDescriptor fileDescriptor) throws NullPointerException
Appends a file descriptor to the list of file descriptors of this multiple
descriptor. Use this function to add a file descriptor to
the end of the interleave pattern.
fileDescriptor - File descriptor to append to this multiple descriptor.NullPointerException - The given file descriptor is null.void prependFileDescriptor(AAFFileDescriptor fileDescriptor) throws NullPointerException
Prepends a file descriptor to the list of file descriptors of this multiple
essence descriptor. Use this method to add a file descriptor
to to the beginning of the interleave pattern.
fileDescriptor - File descriptor to prepend to this multiple descriptor.NullPointerException - The file descriptor argument is null.void insertFileDescriptorAt(@UInt32 int index, AAFFileDescriptor fileDescriptor) throws NullPointerException, IndexOutOfBoundsException
Insert a file descriptor into the list of file descriptors of this multiple descriptor at the given index. Other indices will be adjusted upwards to accommodate the new item.
index - Index at which the given file descriptor is to be inserted.fileDescriptor - File descriptor to insert.NullPointerException - The file descriptor argument is null.IndexOutOfBoundsException - The given index is outside the acceptable range for
the current list of file descriptors.AAFFileDescriptor getFileDescriptorAt(@UInt32 int index) throws IndexOutOfBoundsException
Returns the file descriptor at the given index through the list of file descriptors of this multiple descriptor.
index - Index of the file descriptor to retrieve.IndexOutOfBoundsException - The given index is outside the acceptable range for
the current list of file descriptors.void removeFileDescriptorAt(@UInt32 int index) throws IndexOutOfBoundsException
Removes the file descriptor at the given index from the list of file descriptors of this multiple descriptor. Indices of other items in the list will be adjusted to a lower value to fill the gap left after the removal.
index - Index of the file descriptor to remove.IndexOutOfBoundsException - The given index is outside the acceptable range for
the current list of file descriptors.TypeDefinitions.FileDescriptorStrongReferenceVectorList<? extends AAFFileDescriptor> getFileDescriptors()
Returns a copy of the list of file descriptors of this multiple descriptor.
MultipleDescriptor clone()
Create a cloned copy of this multiple descriptor.
clone in interface AAFFileDescriptorclone in interface EssenceDescriptorclone in interface InterchangeObjectclone in interface MediaEntity(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.