org.jaudiotagger.audio.mp4.atom
Class Mp4HdlrBox
java.lang.Object
org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
org.jaudiotagger.audio.mp4.atom.Mp4HdlrBox
public class Mp4HdlrBox
- extends AbstractMp4Box
HdlrBox ( Handler box),
Describes the type of metadata in the following ilst or minf atom
Constructor Summary |
Mp4HdlrBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
DataBuffer must start from from the start of the body |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VERSION_FLAG_LENGTH
public static final int VERSION_FLAG_LENGTH
- See Also:
- Constant Field Values
OTHER_FLAG_LENGTH
public static final int OTHER_FLAG_LENGTH
- See Also:
- Constant Field Values
RESERVED_FLAG_LENGTH
public static final int RESERVED_FLAG_LENGTH
- See Also:
- Constant Field Values
HANDLER_LENGTH
public static final int HANDLER_LENGTH
- See Also:
- Constant Field Values
RESERVED1_LENGTH
public static final int RESERVED1_LENGTH
- See Also:
- Constant Field Values
RESERVED2_LENGTH
public static final int RESERVED2_LENGTH
- See Also:
- Constant Field Values
RESERVED3_LENGTH
public static final int RESERVED3_LENGTH
- See Also:
- Constant Field Values
NAME_LENGTH
public static final int NAME_LENGTH
- See Also:
- Constant Field Values
HANDLER_POS
public static final int HANDLER_POS
- See Also:
- Constant Field Values
RESERVED1_POS
public static final int RESERVED1_POS
- See Also:
- Constant Field Values
ITUNES_META_HDLR_DAT_LENGTH
public static final int ITUNES_META_HDLR_DAT_LENGTH
- See Also:
- Constant Field Values
reserved
private int reserved
handlerType
private java.lang.String handlerType
name
private java.lang.String name
mediaDataType
private Mp4HdlrBox.MediaDataType mediaDataType
mediaDataTypeMap
private static java.util.Map<java.lang.String,Mp4HdlrBox.MediaDataType> mediaDataTypeMap
Mp4HdlrBox
public Mp4HdlrBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
- DataBuffer must start from from the start of the body
- Parameters:
header
- header infodataBuffer
- data of box (doesnt include header data)
processData
public void processData()
throws CannotReadException
- Throws:
CannotReadException
getHandlerType
public java.lang.String getHandlerType()
getMediaDataType
public Mp4HdlrBox.MediaDataType getMediaDataType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createiTunesStyleHdlrBox
public static Mp4HdlrBox createiTunesStyleHdlrBox()
- Create an iTunes style Hdlr box for use within Meta box
Useful when writing to mp4 that previously didn't contain an mp4 meta atom
Doesnt write the child data but uses it to se the header length, only sets the atoms immediate
data
- Returns: