Coverage Report - org.jaudiotagger.tag.id3.valuepair.SynchronisedLyricsContentType
 
Classes in this File Line Coverage Branch Coverage Complexity
SynchronisedLyricsContentType
100%
15/15
100%
2/2
1.5
 
 1  
 package org.jaudiotagger.tag.id3.valuepair;
 2  
 
 3  
 import org.jaudiotagger.tag.datatype.AbstractIntStringValuePair;
 4  
 
 5  
 /**
 6  
  * Content Type used by Sysnchronised Lyrics Frame (SYLT)
 7  
  */
 8  
 public class SynchronisedLyricsContentType extends AbstractIntStringValuePair
 9  
 {
 10  
     private static SynchronisedLyricsContentType eventTimingTypes;
 11  
 
 12  
     public static SynchronisedLyricsContentType getInstanceOf()
 13  
     {
 14  6
         if (SynchronisedLyricsContentType.eventTimingTypes == null)
 15  
         {
 16  1
             SynchronisedLyricsContentType.eventTimingTypes = new SynchronisedLyricsContentType();
 17  
         }
 18  6
         return SynchronisedLyricsContentType.eventTimingTypes;
 19  
     }
 20  
 
 21  
     public static final int CONTENT_KEY_FIELD_SIZE = 1;
 22  
 
 23  
     private SynchronisedLyricsContentType()
 24  1
     {
 25  1
         idToValue.put(0x00, "other");
 26  1
         idToValue.put(0x01, "lyrics");
 27  1
         idToValue.put(0x02, "text transcription");
 28  1
         idToValue.put(0x03, "movement/part name");
 29  1
         idToValue.put(0x04, "events");
 30  1
         idToValue.put(0x05, "chord");
 31  1
         idToValue.put(0x06, "trivia");
 32  1
         idToValue.put(0x07, "URLs to webpages");
 33  1
         idToValue.put(0x08, "URLs to images");
 34  1
         createMaps();
 35  1
     }
 36  
 }