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

AlbumArtistBox

public class AlbumArtistBox extends com.googlecode.mp4parser.AbstractFullBox
Special box used by Vodafone in their DCF containing information about the artist. Mainly used for OMA DCF files containing music. Resides in the {@link com.coremedia.iso.boxes.UserDataBox}.

Fields Summary
public static final String
TYPE
private String
language
private String
albumArtist
Constructors Summary
public AlbumArtistBox()


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

        parseVersionAndFlags(content);
        language = IsoTypeReader.readIso639(content);
        albumArtist = IsoTypeReader.readString(content);
    
public java.lang.StringgetAlbumArtist()

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

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

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

        return language;
    
public voidsetAlbumArtist(java.lang.String albumArtist)

        this.albumArtist = albumArtist;
    
public voidsetLanguage(java.lang.String language)

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

        return "AlbumArtistBox[language=" + getLanguage() + ";albumArtist=" + getAlbumArtist() + "]";