1 | package org.farng.mp3.id3; |
2 | |
3 | import org.farng.mp3.InvalidTagException; |
4 | |
5 | import java.io.RandomAccessFile; |
6 | |
7 | /** |
8 | * The 'Track number/Position in set' frame is a numeric string<br> containing the order |
9 | * number of the audio-file on its original<br> |
10 | * <p/> |
11 | * recording. This MAY be extended with a "/" character and a numeric<br> string |
12 | * containing the total number of tracks/elements on the original<br> recording. E.g. "4/9".</p> |
13 | * |
14 | * @author Eric Farng |
15 | * @version $Revision: 1.4 $ |
16 | */ |
17 | public class FrameBodyTRCK extends AbstractFrameBodyTextInformation { |
18 | |
19 | /** |
20 | * Creates a new FrameBodyTRCK object. |
21 | */ |
22 | public FrameBodyTRCK() { |
23 | super(); |
24 | } |
25 | |
26 | /** |
27 | * Creates a new FrameBodyTRCK object. |
28 | */ |
29 | public FrameBodyTRCK(final FrameBodyTRCK body) { |
30 | super(body); |
31 | } |
32 | |
33 | /** |
34 | * Creates a new FrameBodyTRCK object. |
35 | */ |
36 | public FrameBodyTRCK(final byte textEncoding, final String text) { |
37 | super(textEncoding, text); |
38 | } |
39 | |
40 | /** |
41 | * Creates a new FrameBodyTRCK object. |
42 | */ |
43 | public FrameBodyTRCK(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
44 | super(file); |
45 | } |
46 | |
47 | public String getIdentifier() { |
48 | return "TRCK"; |
49 | } |
50 | } |