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

ProgressiveDownloadInformationBox

public class ProgressiveDownloadInformationBox extends com.googlecode.mp4parser.AbstractFullBox

Fields Summary
List
entries
Constructors Summary
public ProgressiveDownloadInformationBox()


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

        parseVersionAndFlags(content);
        entries = new LinkedList<Entry>();
        while (content.remaining() >= 8) {
            Entry entry = new Entry(IsoTypeReader.readUInt32(content), IsoTypeReader.readUInt32(content));
            entries.add(entry);
        }
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        for (Entry entry : entries) {
            IsoTypeWriter.writeUInt32(byteBuffer, entry.getRate());
            IsoTypeWriter.writeUInt32(byteBuffer, entry.getInitialDelay());
        }
    
protected longgetContentSize()

        return 4 + entries.size() * 8;
    
public java.util.ListgetEntries()

        return entries;
    
public voidsetEntries(java.util.List entries)

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

        return "ProgressiveDownloadInfoBox{" +
                "entries=" + entries +
                '}";