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

PerformerBox

public class PerformerBox extends com.googlecode.mp4parser.AbstractFullBox
Used to give information about the performer. Mostly used in confunction with music files. See 3GPP 26.234 for details.

Fields Summary
public static final String
TYPE
private String
language
private String
performer
Constructors Summary
public PerformerBox()


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

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

        writeVersionAndFlags(byteBuffer);
        IsoTypeWriter.writeIso639(byteBuffer, language);
        byteBuffer.put(Utf8.convert(performer));
        byteBuffer.put((byte) 0);
    
protected longgetContentSize()

        return 6 + Utf8.utf8StringLengthInBytes(performer) + 1;
    
public java.lang.StringgetLanguage()

        return language;
    
public java.lang.StringgetPerformer()

        return performer;
    
public voidsetLanguage(java.lang.String language)

        this.language = language;
    
public voidsetPerformer(java.lang.String performer)

        this.performer = performer;
    
public java.lang.StringtoString()

        return "PerformerBox[language=" + getLanguage() + ";performer=" + getPerformer() + "]";