public class ContentInformationBox extends AbstractFullBox
aligned(8) class ContentInformationBox
extends FullBox(‘cinf’, version=0, flags=0)
{
string mimeSubtypeName;
string profile-level-idc;
string codecs;
unsigned int(8) protection;
string languages;
unsigned int(8) brand_entry_count;
for( int i=0; i < brand_entry_count; i++)
{
string iso_brand;
string version
}
unsigned int(8) id_entry_count;
for( int i=0; i < id_entry_count; i++)
{
string namespace;
string asset_id;
}
}
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentInformationBox.BrandEntry |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
content, type| Constructor and Description |
|---|
ContentInformationBox() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_parseDetails(java.nio.ByteBuffer content)
Parse the box's fields and child boxes if any.
|
java.util.Map<java.lang.String,java.lang.String> |
getBrandEntries() |
java.lang.String |
getCodecs() |
protected void |
getContent(java.nio.ByteBuffer byteBuffer)
Write the box's content into the given
ByteBuffer. |
protected long |
getContentSize()
Get the box's content size without its header.
|
java.util.Map<java.lang.String,java.lang.String> |
getIdEntries() |
java.lang.String |
getLanguages() |
java.lang.String |
getMimeSubtypeName() |
java.lang.String |
getProfileLevelIdc() |
java.lang.String |
getProtection() |
void |
setBrandEntries(java.util.Map<java.lang.String,java.lang.String> brandEntries) |
void |
setCodecs(java.lang.String codecs) |
void |
setIdEntries(java.util.Map<java.lang.String,java.lang.String> idEntries) |
void |
setLanguages(java.lang.String languages) |
void |
setMimeSubtypeName(java.lang.String mimeSubtypeName) |
void |
setProfileLevelIdc(java.lang.String profileLevelIdc) |
void |
setProtection(java.lang.String protection) |
getFlags, getVersion, parseVersionAndFlags, setFlags, setVersion, writeVersionAndFlagsgetBox, getSize, getType, getUserType, isParsed, parse, parseDetailsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparsepublic static final java.lang.String TYPE
protected long getContentSize()
AbstractBoxgetContent(ByteBuffer) writes.getContentSize in class AbstractBoxAbstractBox.getContent(java.nio.ByteBuffer)protected void getContent(java.nio.ByteBuffer byteBuffer)
AbstractBoxByteBuffer. This must include flags
and version in case of a full box. byteBuffer has been initialized with
getSize() bytes.getContent in class AbstractBoxbyteBuffer - the sink for the box's contentprotected void _parseDetails(java.nio.ByteBuffer content)
AbstractBox_parseDetails in class AbstractBoxcontent - the box's raw content beginning after the 4-cc field.public java.lang.String getMimeSubtypeName()
public void setMimeSubtypeName(java.lang.String mimeSubtypeName)
public java.lang.String getProfileLevelIdc()
public void setProfileLevelIdc(java.lang.String profileLevelIdc)
public java.lang.String getCodecs()
public void setCodecs(java.lang.String codecs)
public java.lang.String getProtection()
public void setProtection(java.lang.String protection)
public java.lang.String getLanguages()
public void setLanguages(java.lang.String languages)
public java.util.Map<java.lang.String,java.lang.String> getBrandEntries()
public void setBrandEntries(java.util.Map<java.lang.String,java.lang.String> brandEntries)
public java.util.Map<java.lang.String,java.lang.String> getIdEntries()
public void setIdEntries(java.util.Map<java.lang.String,java.lang.String> idEntries)
Copyright © 2020. All rights reserved.