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

Box

public interface Box
Defines basic interaction possibilities for any ISO box. Each box has a parent box and a type.

Fields Summary
Constructors Summary
Methods Summary
public voidgetBox(java.nio.channels.WritableByteChannel writableByteChannel)
Writes the complete box - size | 4-cc | content - to the given writableByteChannel.

param
writableByteChannel the box's sink
throws
IOException in case of problems with the Channel

public com.coremedia.iso.boxes.ContainerBoxgetParent()

public longgetSize()

public java.lang.StringgetType()
The box's 4-cc type.

return
the 4 character type of the box

public voidparse(java.nio.channels.ReadableByteChannel readableByteChannel, java.nio.ByteBuffer header, long contentSize, com.coremedia.iso.BoxParser boxParser)

public voidsetParent(com.coremedia.iso.boxes.ContainerBox parent)