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

MovieFragmentHeaderBox

public class MovieFragmentHeaderBox extends com.googlecode.mp4parser.AbstractFullBox
aligned(8) class MovieFragmentHeaderBox extends FullBox('mfhd', 0, 0){ unsigned int(32) sequence_number; }

Fields Summary
public static final String
TYPE
private long
sequenceNumber
Constructors Summary
public MovieFragmentHeaderBox()


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

        parseVersionAndFlags(content);
        sequenceNumber = IsoTypeReader.readUInt32(content);

    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        IsoTypeWriter.writeUInt32(byteBuffer, sequenceNumber);
    
protected longgetContentSize()

        return 8;
    
public longgetSequenceNumber()

        return sequenceNumber;
    
public voidsetSequenceNumber(long sequenceNumber)

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

        return "MovieFragmentHeaderBox{" +
                "sequenceNumber=" + sequenceNumber +
                '}";