Coverage Report - org.jaudiotagger.audio.asf.data.AsfExtendedHeader
 
Classes in this File Line Coverage Branch Coverage Complexity
AsfExtendedHeader
100%
4/4
N/A
1
 
 1  
 package org.jaudiotagger.audio.asf.data;
 2  
 
 3  
 import java.math.BigInteger;
 4  
 
 5  
 /**
 6  
  * This class represents the ASF extended header object (chunk).<br>
 7  
  * Like {@link AsfHeader} it contains multiple other ASF objects (chunks).<br> 
 8  
  * 
 9  
  * @author Christian Laireiter
 10  
  */
 11  
 public final class AsfExtendedHeader extends ChunkContainer
 12  
 {
 13  
 
 14  
     /**
 15  
      * Creates an instance.<br>
 16  
      * 
 17  
      * @param pos Position within the stream.<br>
 18  
      * @param length the length of the extended header object.
 19  
      */
 20  
     public AsfExtendedHeader(long pos, BigInteger length)
 21  
     {
 22  80
         super(GUID.GUID_HEADER_EXTENSION, pos, length);
 23  80
     }
 24  
 
 25  
     /**
 26  
      * @return Returns the contentDescription.
 27  
      */
 28  
     public ContentDescription getContentDescription()
 29  
     {
 30  54
         return (ContentDescription) getFirst(GUID.GUID_CONTENTDESCRIPTION, ContentDescription.class);
 31  
     }
 32  
 
 33  
     /**
 34  
      * @return Returns the tagHeader.
 35  
      */
 36  
     public ExtendedContentDescription getExtendedContentDescription()
 37  
     {
 38  59
         return (ExtendedContentDescription) getFirst(GUID.GUID_EXTENDED_CONTENT_DESCRIPTION, ExtendedContentDescription.class);
 39  
     }
 40  
 
 41  
 }