Coverage Report - org.jaudiotagger.tag.id3.valuepair.ReceivedAsTypes
 
Classes in this File Line Coverage Branch Coverage Complexity
ReceivedAsTypes
0%
0/15
0%
0/2
1.5
 
 1  
 /**
 2  
  * @author : Paul Taylor
 3  
  * <p/>
 4  
  * Version @version:$Id: ReceivedAsTypes.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  
  * Used by Commercial Frame (COMR)
 22  
  */
 23  
 package org.jaudiotagger.tag.id3.valuepair;
 24  
 
 25  
 import org.jaudiotagger.tag.datatype.AbstractIntStringValuePair;
 26  
 
 27  
 public class ReceivedAsTypes extends AbstractIntStringValuePair
 28  
 {
 29  
     private static ReceivedAsTypes receivedAsTypes;
 30  
 
 31  
     public static ReceivedAsTypes getInstanceOf()
 32  
     {
 33  0
         if (receivedAsTypes == null)
 34  
         {
 35  0
             receivedAsTypes = new ReceivedAsTypes();
 36  
         }
 37  0
         return receivedAsTypes;
 38  
     }
 39  
 
 40  
     private ReceivedAsTypes()
 41  0
     {
 42  0
         idToValue.put(0x00, "Other");
 43  0
         idToValue.put(0x01, "Standard CD album with other songs");
 44  0
         idToValue.put(0x02, "Compressed audio on CD");
 45  0
         idToValue.put(0x03, "File over the Internet");
 46  0
         idToValue.put(0x04, "Stream over the Internet");
 47  0
         idToValue.put(0x05, "As note sheets");
 48  0
         idToValue.put(0x06, "As note sheets in a book with other sheets");
 49  0
         idToValue.put(0x07, "Music on other media");
 50  0
         idToValue.put(0x08, "Non-musical merchandise");
 51  0
         createMaps();
 52  0
     }
 53  
 }