Coverage Report - org.jaudiotagger.audio.ogg.util.VorbisPacketType
 
Classes in this File Line Coverage Branch Coverage Complexity
VorbisPacketType
100%
9/9
N/A
0
 
 1  
 package org.jaudiotagger.audio.ogg.util;
 2  
 
 3  
 /**
 4  
  * Vorbis Packet Type
 5  
  * <p/>
 6  
  * In an Vorbis Stream there should be one instance of the three headers, and many audio packets
 7  
  */
 8  6
 public enum VorbisPacketType
 9  
 {
 10  6
     AUDIO(0),
 11  6
     IDENTIFICATION_HEADER(1),
 12  6
     COMMENT_HEADER(3),
 13  6
     SETUP_HEADER(5);
 14  
 
 15  
     int type;
 16  
 
 17  
     VorbisPacketType(int type)
 18  24
     {
 19  24
         this.type = type;
 20  24
     }
 21  
 
 22  
     public int getType()
 23  
     {
 24  163
         return type;
 25  
     }
 26  
 }