| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BlockType |
|
| 0.0;0 |
| 1 | package org.jaudiotagger.audio.flac.metadatablock; | |
| 2 | ||
| 3 | /** | |
| 4 | * The different types of metadata block | |
| 5 | * <p/> | |
| 6 | * 7 - 126 are reserved for future use | |
| 7 | * 127 is invalid | |
| 8 | * User: Paul Taylor | |
| 9 | * Date: 21-Nov-2007 | |
| 10 | */ | |
| 11 | 670 | public enum BlockType |
| 12 | { | |
| 13 | 5 | STREAMINFO(0), |
| 14 | 5 | PADDING(1), |
| 15 | 5 | APPLICATION(2), |
| 16 | 5 | SEEKTABLE(3), |
| 17 | 5 | VORBIS_COMMENT(4), |
| 18 | 5 | CUESHEET(5), |
| 19 | 5 | PICTURE(6); |
| 20 | ||
| 21 | private int id; | |
| 22 | ||
| 23 | BlockType(int id) | |
| 24 | 35 | { |
| 25 | 35 | this.id = id; |
| 26 | 35 | } |
| 27 | ||
| 28 | public int getId() | |
| 29 | { | |
| 30 | 48 | return id; |
| 31 | } | |
| 32 | } |