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

AppleCustomGenreBox

public final class AppleCustomGenreBox extends AbstractAppleMetaDataBox

Fields Summary
public static final String
TYPE
Constructors Summary
public AppleCustomGenreBox()



      
        super(TYPE);
        appleDataBox = AppleDataBox.getStringAppleDataBox();
    
Methods Summary
public java.lang.StringgetGenre()

        return Utf8.convert(appleDataBox.getData());
    
public voidsetGenre(java.lang.String genre)

        appleDataBox = new AppleDataBox();
        appleDataBox.setVersion(0);
        appleDataBox.setFlags(1);
        appleDataBox.setFourBytes(new byte[4]);
        appleDataBox.setData(Utf8.convert(genre));