| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
|
| 19 | |
|
| 20 | |
|
| 21 | |
|
| 22 | |
|
| 23 | |
package org.jaudiotagger.tag.reference; |
| 24 | |
|
| 25 | |
import org.jaudiotagger.tag.datatype.AbstractIntStringValuePair; |
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | |
public class PictureTypes extends AbstractIntStringValuePair |
| 33 | |
{ |
| 34 | |
private static PictureTypes pictureTypes; |
| 35 | |
|
| 36 | |
public static PictureTypes getInstanceOf() |
| 37 | |
{ |
| 38 | 256 | if (pictureTypes == null) |
| 39 | |
{ |
| 40 | 21 | pictureTypes = new PictureTypes(); |
| 41 | |
} |
| 42 | 256 | return pictureTypes; |
| 43 | |
} |
| 44 | |
|
| 45 | |
public static final int PICTURE_TYPE_FIELD_SIZE = 1; |
| 46 | |
public static final String DEFAULT_VALUE = "Cover (front)"; |
| 47 | 22 | public static final Integer DEFAULT_ID = 3; |
| 48 | |
|
| 49 | |
private PictureTypes() |
| 50 | 21 | { |
| 51 | 21 | idToValue.put(0, "Other"); |
| 52 | 21 | idToValue.put(1, "32x32 pixels 'file icon' (PNG only)"); |
| 53 | 21 | idToValue.put(2, "Other file icon"); |
| 54 | 21 | idToValue.put(3, "Cover (front)"); |
| 55 | 21 | idToValue.put(4, "Cover (back)"); |
| 56 | 21 | idToValue.put(5, "Leaflet page"); |
| 57 | 21 | idToValue.put(6, "Media (e.g. label side of CD)"); |
| 58 | 21 | idToValue.put(7, "Lead artist/lead performer/soloist"); |
| 59 | 21 | idToValue.put(8, "Artist/performer"); |
| 60 | 21 | idToValue.put(9, "Conductor"); |
| 61 | 21 | idToValue.put(10, "Band/Orchestra"); |
| 62 | 21 | idToValue.put(11, "Composer"); |
| 63 | 21 | idToValue.put(12, "Lyricist/text writer"); |
| 64 | 21 | idToValue.put(13, "Recording Location"); |
| 65 | 21 | idToValue.put(14, "During recording"); |
| 66 | 21 | idToValue.put(15, "During performance"); |
| 67 | 21 | idToValue.put(16, "Movie/video screen capture"); |
| 68 | 21 | idToValue.put(17, "A bright coloured fish"); |
| 69 | 21 | idToValue.put(18, "Illustration"); |
| 70 | 21 | idToValue.put(19, "Band/artist logotype"); |
| 71 | 21 | idToValue.put(20, "Publisher/Studio logotype"); |
| 72 | |
|
| 73 | 21 | createMaps(); |
| 74 | 21 | } |
| 75 | |
|
| 76 | |
} |