| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| InterpolationTypes |
|
| 1.5;1.5 |
| 1 | /** | |
| 2 | * @author : Paul Taylor | |
| 3 | * <p/> | |
| 4 | * Version @version:$Id: InterpolationTypes.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 along 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 InterpolationTypes extends AbstractIntStringValuePair | |
| 27 | { | |
| 28 | private static InterpolationTypes interpolationTypes; | |
| 29 | ||
| 30 | public static InterpolationTypes getInstanceOf() | |
| 31 | { | |
| 32 | 0 | if (interpolationTypes == null) |
| 33 | { | |
| 34 | 0 | interpolationTypes = new InterpolationTypes(); |
| 35 | } | |
| 36 | 0 | return interpolationTypes; |
| 37 | } | |
| 38 | ||
| 39 | private InterpolationTypes() | |
| 40 | 0 | { |
| 41 | 0 | idToValue.put(0, "Band"); |
| 42 | 0 | idToValue.put(1, "Linear"); |
| 43 | 0 | createMaps(); |
| 44 | 0 | } |
| 45 | } |