FileDocCategorySizeDatePackage
AssetInformationBox.javaAPI Docmp4parser 1.0-RC-172063Wed Dec 19 20:10:37 GMT 2012com.googlecode.mp4parser.boxes.ultraviolet

AssetInformationBox

public class AssetInformationBox extends com.googlecode.mp4parser.AbstractFullBox
AssetInformationBox as defined Common File Format Spec.

Fields Summary
String
apid
String
profileVersion
Constructors Summary
public AssetInformationBox()


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

        parseVersionAndFlags(content);
        profileVersion = IsoTypeReader.readString(content, 4);
        apid = IsoTypeReader.readString(content);
        content = null;
    
public java.lang.StringgetApid()

        return apid;
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        byteBuffer.put(Utf8.convert(profileVersion), 0, 4);
        byteBuffer.put(Utf8.convert(apid));
        byteBuffer.put((byte) 0);
    
protected longgetContentSize()

        return Utf8.utf8StringLengthInBytes(apid) + 9;
    
public java.lang.StringgetProfileVersion()

        return profileVersion;
    
public voidsetApid(java.lang.String apid)

        this.apid = apid;
    
public voidsetProfileVersion(java.lang.String profileVersion)

        assert profileVersion != null && profileVersion.length() == 4;
        this.profileVersion = profileVersion;