Package org.mp4parser.boxes.apple
Class GenericMediaHeaderTextAtom
- java.lang.Object
-
- org.mp4parser.support.AbstractBox
-
- org.mp4parser.boxes.apple.GenericMediaHeaderTextAtom
-
- All Implemented Interfaces:
Box,ParsableBox
public class GenericMediaHeaderTextAtom extends AbstractBox
4cc = ""text""
Undocumented atom in the gmhd atom of text tracks.
-
-
Field Summary
-
Fields inherited from class org.mp4parser.support.AbstractBox
content, type
-
-
Constructor Summary
Constructors Constructor Description GenericMediaHeaderTextAtom()
-
Method Summary
Modifier and Type Method Description protected void_parseDetails(ByteBuffer content)Parse the box's fields and child boxes if any.protected voidgetContent(ByteBuffer byteBuffer)Write the box's content into the givenByteBuffer.protected longgetContentSize()Get the box's content size without its header.intgetUnknown_1()intgetUnknown_2()intgetUnknown_3()intgetUnknown_4()intgetUnknown_5()intgetUnknown_6()intgetUnknown_7()intgetUnknown_8()intgetUnknown_9()voidsetUnknown_1(int unknown_1)voidsetUnknown_2(int unknown_2)voidsetUnknown_3(int unknown_3)voidsetUnknown_4(int unknown_4)voidsetUnknown_5(int unknown_5)voidsetUnknown_6(int unknown_6)voidsetUnknown_7(int unknown_7)voidsetUnknown_8(int unknown_8)voidsetUnknown_9(int unknown_9)-
Methods inherited from class org.mp4parser.support.AbstractBox
getBox, getSize, getType, getUserType, isParsed, parse, parseDetails
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentSize
protected long getContentSize()
Description copied from class:AbstractBoxGet the box's content size without its header. This must be the exact number of bytes thatgetContent(ByteBuffer)writes.- Specified by:
getContentSizein classAbstractBox- Returns:
- Gets the box's content size in bytes
- See Also:
AbstractBox.getContent(java.nio.ByteBuffer)
-
getContent
protected void getContent(ByteBuffer byteBuffer)
Description copied from class:AbstractBoxWrite the box's content into the givenByteBuffer. This must include flags and version in case of a full box.byteBufferhas been initialized withgetSize()bytes.- Specified by:
getContentin classAbstractBox- Parameters:
byteBuffer- the sink for the box's content
-
_parseDetails
protected void _parseDetails(ByteBuffer content)
Description copied from class:AbstractBoxParse the box's fields and child boxes if any.- Specified by:
_parseDetailsin classAbstractBox- Parameters:
content- the box's raw content beginning after the 4-cc field.
-
getUnknown_1
public int getUnknown_1()
-
setUnknown_1
public void setUnknown_1(int unknown_1)
-
getUnknown_2
public int getUnknown_2()
-
setUnknown_2
public void setUnknown_2(int unknown_2)
-
getUnknown_3
public int getUnknown_3()
-
setUnknown_3
public void setUnknown_3(int unknown_3)
-
getUnknown_4
public int getUnknown_4()
-
setUnknown_4
public void setUnknown_4(int unknown_4)
-
getUnknown_5
public int getUnknown_5()
-
setUnknown_5
public void setUnknown_5(int unknown_5)
-
getUnknown_6
public int getUnknown_6()
-
setUnknown_6
public void setUnknown_6(int unknown_6)
-
getUnknown_7
public int getUnknown_7()
-
setUnknown_7
public void setUnknown_7(int unknown_7)
-
getUnknown_8
public int getUnknown_8()
-
setUnknown_8
public void setUnknown_8(int unknown_8)
-
getUnknown_9
public int getUnknown_9()
-
setUnknown_9
public void setUnknown_9(int unknown_9)
-
-