| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| EventTimingTimestampTypes |
|
| 1.5;1.5 |
| 1 | /** | |
| 2 | * @author : Paul Taylor | |
| 3 | * <p/> | |
| 4 | * Version @version:$Id: EventTimingTimestampTypes.java,v 1.5 2008/01/01 15:14:25 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 EventTimingTimestampTypes extends AbstractIntStringValuePair | |
| 27 | { | |
| 28 | private static EventTimingTimestampTypes eventTimingTimestampTypes; | |
| 29 | ||
| 30 | public static EventTimingTimestampTypes getInstanceOf() | |
| 31 | { | |
| 32 | 6 | if (eventTimingTimestampTypes == null) |
| 33 | { | |
| 34 | 1 | eventTimingTimestampTypes = new EventTimingTimestampTypes(); |
| 35 | } | |
| 36 | 6 | return eventTimingTimestampTypes; |
| 37 | } | |
| 38 | ||
| 39 | public static final int TIMESTAMP_KEY_FIELD_SIZE = 1; | |
| 40 | ||
| 41 | private EventTimingTimestampTypes() | |
| 42 | 1 | { |
| 43 | 1 | idToValue.put(1, "Absolute time using MPEG [MPEG] frames as unit"); |
| 44 | 1 | idToValue.put(2, "Absolute time using milliseconds as unit"); |
| 45 | ||
| 46 | 1 | createMaps(); |
| 47 | 1 | } |
| 48 | } |