1 | package org.farng.mp3.id3; |
2 | |
3 | import org.farng.mp3.InvalidTagException; |
4 | |
5 | import java.io.RandomAccessFile; |
6 | |
7 | /** |
8 | * <div class=h5>TYER</div> |
9 | * <p/> |
10 | * <div class=t>The 'Year' frame is a numeric string with a year of the recording. This frames is always four characters |
11 | * long (until the year 10000).</div> |
12 | * |
13 | * @author Eric Farng |
14 | * @version $Revision: 1.4 $ |
15 | */ |
16 | public class FrameBodyTYER extends AbstractFrameBodyTextInformation { |
17 | |
18 | /** |
19 | * Creates a new FrameBodyTYER object. |
20 | */ |
21 | public FrameBodyTYER() { |
22 | super(); |
23 | } |
24 | |
25 | /** |
26 | * Creates a new FrameBodyTYER object. |
27 | */ |
28 | public FrameBodyTYER(final FrameBodyTYER body) { |
29 | super(body); |
30 | } |
31 | |
32 | /** |
33 | * Creates a new FrameBodyTYER object. |
34 | */ |
35 | public FrameBodyTYER(final byte textEncoding, final String text) { |
36 | super(textEncoding, text); |
37 | } |
38 | |
39 | /** |
40 | * Creates a new FrameBodyTYER object. |
41 | */ |
42 | public FrameBodyTYER(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
43 | super(file); |
44 | } |
45 | |
46 | public String getIdentifier() { |
47 | return "TYER"; |
48 | } |
49 | } |