@Immutable public static final class SourcePackage.SourcePackageBO extends GenericPackage.GenericPackageBO
InterchangeObject.InterchangeObjectBO.StrongRef
genericTrackInstanceUIDs, package_creation_date, package_modified_date, package_uid, tracks
header, instance_uid
Constructor and Description |
---|
SourcePackageBO(KLVPacket.Header header,
ByteProvider byteProvider,
java.util.Map<java.lang.Integer,MXFUID> localTagToUIDMap,
IMFErrorLogger imfErrorLogger)
Instantiates a new parsed SourcePackage object by virtue of parsing the MXF file bitstream
|
Modifier and Type | Method and Description |
---|---|
MXFUID |
getDescriptorUID()
Getter for the descriptor UID referred by this Source Package
|
java.lang.String |
toString()
A method that returns a string representation of a parsed Source Package object
|
getGenericTrackInstanceUIDs, getNullPackageUID, getPackageUID
getHeader, getInstanceUID
public SourcePackageBO(KLVPacket.Header header, ByteProvider byteProvider, java.util.Map<java.lang.Integer,MXFUID> localTagToUIDMap, IMFErrorLogger imfErrorLogger) throws java.io.IOException
header
- the parsed header (K and L fields from the KLV packet)byteProvider
- the input stream corresponding to the MXF filelocalTagToUIDMap
- mapping from local tag to element UID as provided by the Primer Pack defined in st377-1:2011imfErrorLogger
- logger for recording any parsing errorsjava.io.IOException
- - any I/O related error will be exposed through an IOExceptionpublic MXFUID getDescriptorUID()
public java.lang.String toString()
toString
in class java.lang.Object