FileDocCategorySizeDatePackage
AppleDataReferenceBox.javaAPI Docmp4parser 1.0-RC-172226Wed Dec 19 20:10:37 GMT 2012com.coremedia.iso.boxes.apple

AppleDataReferenceBox

public class AppleDataReferenceBox extends com.googlecode.mp4parser.AbstractFullBox

Fields Summary
public static final String
TYPE
private int
dataReferenceSize
private String
dataReferenceType
private String
dataReference
Constructors Summary
public AppleDataReferenceBox()


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

        parseVersionAndFlags(content);
        dataReferenceType = IsoTypeReader.read4cc(content);
        dataReferenceSize = l2i(IsoTypeReader.readUInt32(content));
        dataReference = IsoTypeReader.readString(content, dataReferenceSize);
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        byteBuffer.put(IsoFile.fourCCtoBytes(dataReferenceType));
        IsoTypeWriter.writeUInt32(byteBuffer, dataReferenceSize);
        byteBuffer.put(Utf8.convert(dataReference));
    
protected longgetContentSize()

        return 12 + dataReferenceSize;
    
public java.lang.StringgetDataReference()

        return dataReference;
    
public longgetDataReferenceSize()

        return dataReferenceSize;
    
public java.lang.StringgetDataReferenceType()

        return dataReferenceType;