Coverage Report - org.jaudiotagger.audio.flac.metadatablock.BlockType
 
Classes in this File Line Coverage Branch Coverage Complexity
BlockType
100%
12/12
N/A
1
 
 1  
 package org.jaudiotagger.audio.flac.metadatablock;
 2  
 
 3  
 /**
 4  
  * The different types of metadata block
 5  
  * <p/>
 6  
  * 7 - 126 are reserved for future use
 7  
  * 127 is invalid
 8  
  * User: Paul Taylor
 9  
  * Date: 21-Nov-2007
 10  
  */
 11  2434
 public enum BlockType
 12  
 {
 13  4
     STREAMINFO(0),
 14  4
     PADDING(1),
 15  4
     APPLICATION(2),
 16  4
     SEEKTABLE(3),
 17  4
     VORBIS_COMMENT(4),
 18  4
     CUESHEET(5),
 19  4
     PICTURE(6);
 20  
 
 21  
     private int id;
 22  
 
 23  
     BlockType(int id)
 24  28
     {
 25  28
         this.id = id;
 26  28
     }
 27  
 
 28  
     public int getId()
 29  
     {
 30  180
         return id;
 31  
     }
 32  
 }