org.jcodec.containers.mp4.boxes
Class LeafBox

java.lang.Object
  extended by org.jcodec.containers.mp4.boxes.Box
      extended by org.jcodec.containers.mp4.boxes.LeafBox

public class LeafBox
extends Box

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A leaf box A box containing data, no children

Author:
Jay Codec

Field Summary
 
Fields inherited from class org.jcodec.containers.mp4.boxes.Box
header
 
Constructor Summary
LeafBox(Header atom)
           
LeafBox(Header atom, ByteBuffer data)
           
 
Method Summary
protected  void doWrite(ByteBuffer out)
           
 ByteBuffer getData()
           
 void parse(ByteBuffer input)
           
 
Methods inherited from class org.jcodec.containers.mp4.boxes.Box
as, dump, findAll, findAll, findFirst, findFirst, getFourcc, getHeader, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LeafBox

public LeafBox(Header atom)

LeafBox

public LeafBox(Header atom,
               ByteBuffer data)
Method Detail

parse

public void parse(ByteBuffer input)
Specified by:
parse in class Box

getData

public ByteBuffer getData()

doWrite

protected void doWrite(ByteBuffer out)
Specified by:
doWrite in class Box


Copyright © 2013. All Rights Reserved.