org.jaudiotagger.audio.mp4.atom
Class Mp4MetaBox
java.lang.Object
org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
org.jaudiotagger.audio.mp4.atom.Mp4MetaBox
public class Mp4MetaBox
- extends AbstractMp4Box
This MP4 MetaBox is the parent of metadata, it usually contains four bytes of data
that needs to be processed before we can examine the children. But I also have a file that caontsins
meta (and no udta) that does not have this children data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLAGS_LENGTH
public static final int FLAGS_LENGTH
- See Also:
- Constant Field Values
Mp4MetaBox
public Mp4MetaBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
- Parameters:
header
- header infodataBuffer
- data of box (doesnt include header data)
processData
public void processData()
throws CannotReadException
- Throws:
CannotReadException
createiTunesStyleMetaBox
public static Mp4MetaBox createiTunesStyleMetaBox(int childrenSize)
- Create an iTunes style Meta box
Useful when writing to mp4 that previously didn't contain an mp4 meta atom
- Parameters:
childrenSize
-
- Returns: