|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultipleDescriptor
Specifies the description of content data associated with a single file source mob that contains multiple tracks of essence. Each file descriptor within a multiple descriptor should set the linked slot property that links it to the source mob slot that it describes.
makeMultipleDescriptor()
,
AAFFileDescriptor.getLinkedSlotID()
,
AAFFileDescriptor.setLinkedSlotID(Integer)
,
SourceMob.getEssenceDescriptor()
Method Summary | |
---|---|
void |
appendFileDescriptor(AAFFileDescriptor fileDescriptor)
Appends a file descriptor to the list of file descriptors 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. |
Methods inherited from interface tv.amwa.maj.iface.AAFFileDescriptor |
---|
getCodecDefinition, getContainerFormat, getLength, getLinkedSlotID, getSampleRate, setCodecDefinition, setContainerFormat, setLength, setLinkedSlotID, setSampleRate |
Methods inherited from interface tv.amwa.maj.iface.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
int 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.List<? extends AAFFileDescriptor> getFileDescriptors()
Returns a copy of the list of file descriptors of this multiple descriptor.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |