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

FreeSpaceBox

public class FreeSpaceBox extends com.googlecode.mp4parser.AbstractBox
The contents of a free-space box are irrelevant and may be ignored, or the object deleted, without affecting the presentation. Care should be excercized when deleting the object, as this may invalidate the offsets used in the sample table.

Fields Summary
public static final String
TYPE
byte[]
data
Constructors Summary
public FreeSpaceBox()

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

        data = new byte[content.remaining()];
        content.get(data);
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        byteBuffer.put(data);
    
protected longgetContentSize()


       
        return data.length;
    
public byte[]getData()

        return data;
    
public voidsetData(byte[] data)

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

        return "FreeSpaceBox[size=" + data.length + ";type=" + getType() + "]";