FileDocCategorySizeDatePackage
ContentDistributorIdBox.javaAPI Docmp4parser 1.0-RC-172091Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes.vodafone

ContentDistributorIdBox

public class ContentDistributorIdBox extends com.googlecode.mp4parser.AbstractFullBox
Vodafone specific box. Usage unclear.

Fields Summary
public static final String
TYPE
private String
language
private String
contentDistributorId
Constructors Summary
public ContentDistributorIdBox()


      
        super(TYPE);
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        parseVersionAndFlags(content);
        language = IsoTypeReader.readIso639(content);
        contentDistributorId = IsoTypeReader.readString(content);
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        IsoTypeWriter.writeIso639(byteBuffer, language);
        byteBuffer.put(Utf8.convert(contentDistributorId));
        byteBuffer.put((byte) 0);

    
public java.lang.StringgetContentDistributorId()

        return contentDistributorId;
    
protected longgetContentSize()

        return 2 + Utf8.utf8StringLengthInBytes(contentDistributorId) + 5;
    
public java.lang.StringgetLanguage()

        return language;
    
public java.lang.StringtoString()

        return "ContentDistributorIdBox[language=" + getLanguage() + ";contentDistributorId=" + getContentDistributorId() + "]";