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

UserBox

public class UserBox extends com.googlecode.mp4parser.AbstractBox
A user specifc box. See ISO/IEC 14496-12 for details.

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


       
        super(TYPE, userType);
    
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 "UserBox[type=" + (getType()) +
                ";userType=" + new String(getUserType()) +
                ";contentLength=" + data.length + "]";