org.jaudiotagger.audio.mp4.atom
Class AbstractMp4Box

java.lang.Object
  extended by org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
Direct Known Subclasses:
Mp4AlacBox, Mp4DataBox, Mp4DrmsBox, Mp4EsdsBox, Mp4FreeBox, Mp4FtypBox, Mp4HdlrBox, Mp4MdhdBox, Mp4MeanBox, Mp4MetaBox, Mp4Mp4aBox, Mp4MvhdBox, Mp4NameBox, Mp4StcoBox, Mp4StsdBox

public class AbstractMp4Box
extends java.lang.Object

Abstract mp4 box, contain a header and then rawdata (which may include child boxes)


Field Summary
protected  java.nio.ByteBuffer dataBuffer
           
protected  Mp4BoxHeader header
           
 
Constructor Summary
AbstractMp4Box()
           
 
Method Summary
 java.nio.ByteBuffer getData()
           
 Mp4BoxHeader getHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

protected Mp4BoxHeader header

dataBuffer

protected java.nio.ByteBuffer dataBuffer
Constructor Detail

AbstractMp4Box

public AbstractMp4Box()
Method Detail

getHeader

public Mp4BoxHeader getHeader()
Returns:
the box header

getData

public java.nio.ByteBuffer getData()
Returns:
rawdata of this box