FileDocCategorySizeDatePackage
Mp4MeanBox.javaAPI DocJaudiotagger 2.0.41507Wed Mar 30 16:12:08 BST 2011org.jaudiotagger.tag.mp4.atom

Mp4MeanBox

public class Mp4MeanBox extends org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
This box is used within ---- boxes to hold the issuer

Fields Summary
public static final String
IDENTIFIER
private String
issuer
public static final int
VERSION_LENGTH
public static final int
FLAGS_LENGTH
public static final int
PRE_DATA_LENGTH
Constructors Summary
public Mp4MeanBox(org.jaudiotagger.audio.mp4.atom.Mp4BoxHeader header, ByteBuffer dataBuffer)

param
header parentHeader info
param
dataBuffer data of box (doesnt include parentHeader data)


                          
        
    
        this.header = header;

        //Double check
        if (!header.getId().equals(IDENTIFIER))
        {
            throw new RuntimeException("Unable to process data box because identifier is:" + header.getId());
        }

        //Make slice so operations here don't effect position of main buffer
        this.dataBuffer = dataBuffer.slice();

        //issuer
        this.issuer = Utils.getString(this.dataBuffer, PRE_DATA_LENGTH, header.getDataLength() - PRE_DATA_LENGTH, header.getEncoding());

    
Methods Summary
public java.lang.StringgetIssuer()

        return issuer;