Coverage Report - org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractMp4Box
100%
3/3
N/A
1
 
 1  
 package org.jaudiotagger.audio.mp4.atom;
 2  
 
 3  
 import java.nio.ByteBuffer;
 4  
 
 5  
 /**
 6  
  * Abstract mp4 box, contain a header and then rawdata (which may include child boxes)
 7  
  */
 8  4277
 public class AbstractMp4Box
 9  
 {
 10  
     protected Mp4BoxHeader header;
 11  
     protected ByteBuffer dataBuffer;
 12  
 
 13  
     /**
 14  
      * @return the box header
 15  
      */
 16  
     public Mp4BoxHeader getHeader()
 17  
     {
 18  35
         return header;
 19  
     }
 20  
 
 21  
     /**
 22  
      * @return rawdata of this box
 23  
      */
 24  
     public ByteBuffer getData()
 25  
     {
 26  31
         return dataBuffer;
 27  
     }
 28  
 
 29  
 
 30  
 }