com.googlecode.mp4parser.boxes.apple
Class GenericMediaHeaderTextAtom

java.lang.Object
  extended by com.googlecode.mp4parser.AbstractBox
      extended by com.googlecode.mp4parser.boxes.apple.GenericMediaHeaderTextAtom
All Implemented Interfaces:
Box

public class GenericMediaHeaderTextAtom
extends AbstractBox

Undocumented atom in the gmhd atom of text tracks.


Field Summary
static String TYPE
           
 
Fields inherited from class com.googlecode.mp4parser.AbstractBox
type
 
Constructor Summary
GenericMediaHeaderTextAtom()
           
 
Method Summary
protected  void _parseDetails(ByteBuffer content)
          Parse the box's fields and child boxes if any.
protected  void getContent(ByteBuffer byteBuffer)
          Write the box's content into the given ByteBuffer.
protected  long getContentSize()
          Get the box's content size without its header.
 int getUnknown_1()
           
 int getUnknown_2()
           
 int getUnknown_3()
           
 int getUnknown_4()
           
 int getUnknown_5()
           
 int getUnknown_6()
           
 int getUnknown_7()
           
 int getUnknown_8()
           
 int getUnknown_9()
           
 void setUnknown_1(int unknown_1)
           
 void setUnknown_2(int unknown_2)
           
 void setUnknown_3(int unknown_3)
           
 void setUnknown_4(int unknown_4)
           
 void setUnknown_5(int unknown_5)
           
 void setUnknown_6(int unknown_6)
           
 void setUnknown_7(int unknown_7)
           
 void setUnknown_8(int unknown_8)
           
 void setUnknown_9(int unknown_9)
           
 
Methods inherited from class com.googlecode.mp4parser.AbstractBox
getBox, getIsoFile, getParent, getSize, getType, getUserType, isParsed, parse, setDeadBytes, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

GenericMediaHeaderTextAtom

public GenericMediaHeaderTextAtom()
Method Detail

getContentSize

protected long getContentSize()
Description copied from class: AbstractBox
Get the box's content size without its header. This must be the exact number of bytes that getContent(ByteBuffer) writes.

Specified by:
getContentSize in class AbstractBox
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: AbstractBox
Write the box's content into the given ByteBuffer. This must include flags and version in case of a full box. byteBuffer has been initialized with getSize() bytes.

Specified by:
getContent in class AbstractBox
Parameters:
byteBuffer - the sink for the box's content

_parseDetails

protected void _parseDetails(ByteBuffer content)
Description copied from class: AbstractBox
Parse the box's fields and child boxes if any.

Specified by:
_parseDetails in class AbstractBox
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)


Copyright © 2012. All Rights Reserved.