Coverage Report - org.jaudiotagger.tag.id3.valuepair.EventTimingTypes
 
Classes in this File Line Coverage Branch Coverage Complexity
EventTimingTypes
0%
0/31
0%
0/2
1.5
 
 1  
 /**
 2  
  * @author : Paul Taylor
 3  
  * <p/>
 4  
  * Version @version:$Id: EventTimingTypes.java,v 1.3 2007/08/06 16:04:36 paultaylor Exp $
 5  
  * <p/>
 6  
  * Jaudiotagger Copyright (C)2004,2005
 7  
  * <p/>
 8  
  * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 9  
  * General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 10  
  * or (at your option) any later version.
 11  
  * <p/>
 12  
  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 13  
  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 14  
  * See the GNU Lesser General Public License for more details.
 15  
  * <p/>
 16  
  * You should have received a copy of the GNU Lesser General Public License ainteger with this library; if not,
 17  
  * you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 18  
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 19  
  * <p/>
 20  
  * Description:
 21  
  */
 22  
 package org.jaudiotagger.tag.id3.valuepair;
 23  
 
 24  
 import org.jaudiotagger.tag.datatype.AbstractIntStringValuePair;
 25  
 
 26  
 public class EventTimingTypes extends AbstractIntStringValuePair
 27  
 {
 28  
     private static EventTimingTypes eventTimingTypes;
 29  
 
 30  
     public static EventTimingTypes getInstanceOf()
 31  
     {
 32  0
         if (eventTimingTypes == null)
 33  
         {
 34  0
             eventTimingTypes = new EventTimingTypes();
 35  
         }
 36  0
         return eventTimingTypes;
 37  
     }
 38  
 
 39  
     private EventTimingTypes()
 40  0
     {
 41  0
         idToValue.put(0x00, "Padding (has no meaning)");
 42  0
         idToValue.put(0x01, "End of initial silence");
 43  0
         idToValue.put(0x02, "Intro start");
 44  0
         idToValue.put(0x03, "Main part start");
 45  0
         idToValue.put(0x04, "Outro start");
 46  0
         idToValue.put(0x05, "Outro end");
 47  0
         idToValue.put(0x06, "Verse start");
 48  0
         idToValue.put(0x07, "Refrain start");
 49  0
         idToValue.put(0x08, "Interlude start");
 50  0
         idToValue.put(0x09, "Theme start");
 51  0
         idToValue.put(0x0A, "Variation start");
 52  0
         idToValue.put(0x0B, "Key change");
 53  0
         idToValue.put(0x0C, "Time change");
 54  0
         idToValue.put(0x0D, "Momentary unwanted noise (Snap, Crackle & Pop)");
 55  0
         idToValue.put(0x0E, "Sustained noise");
 56  0
         idToValue.put(0x0F, "Sustained noise end");
 57  0
         idToValue.put(0x10, "Intro end");
 58  0
         idToValue.put(0x11, "Main part end");
 59  0
         idToValue.put(0x12, "Verse end");
 60  0
         idToValue.put(0x13, "Refrain end");
 61  0
         idToValue.put(0x14, "Theme end");
 62  0
         idToValue.put(0x15, "Profanity");
 63  0
         idToValue.put(0x16, "Profanity end");
 64  0
         idToValue.put(0xFD, "Audio end (start of silence)");
 65  0
         idToValue.put(0xFE, "Audio file ends");
 66  
 
 67  0
         createMaps();
 68  0
     }
 69  
 }