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

ItemProtectionBox

public class ItemProtectionBox extends com.googlecode.mp4parser.FullContainerBox
The Item Protection Box provides an array of item protection information, for use by the Item Information Box.
see
com.coremedia.iso.boxes.ItemProtectionBox

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


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

        parseVersionAndFlags(content);
        IsoTypeReader.readUInt16(content);
        parseChildBoxes(content);
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        IsoTypeWriter.writeUInt16(byteBuffer, getBoxes().size());
        writeChildBoxes(byteBuffer);
    
public SchemeInformationBoxgetItemProtectionScheme()

        if (!getBoxes(SchemeInformationBox.class).isEmpty()) {
            return getBoxes(SchemeInformationBox.class).get(0);
        } else {
            return null;
        }