| 1 | package org.farng.mp3.id3; |
| 2 | |
| 3 | import org.farng.mp3.InvalidTagException; |
| 4 | |
| 5 | import java.io.RandomAccessFile; |
| 6 | |
| 7 | /** |
| 8 | * The 'Part of a set' frame is a numeric string that describes which<br> part of a set the |
| 9 | * audio came from. This frame is used if the source<br> described in the "TALB" frame is divided |
| 10 | * into several mediums, e.g. a<br> |
| 11 | * <p/> |
| 12 | * double CD. The value MAY be extended with a "/" character and a<br> numeric |
| 13 | * string containing the total number of parts in the set. E.g.<br> "1/2".</p> |
| 14 | * |
| 15 | * @author Eric Farng |
| 16 | * @version $Revision: 1.4 $ |
| 17 | */ |
| 18 | public class FrameBodyTPOS extends AbstractFrameBodyTextInformation { |
| 19 | |
| 20 | /** |
| 21 | * Creates a new FrameBodyTPOS object. |
| 22 | */ |
| 23 | public FrameBodyTPOS() { |
| 24 | super(); |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Creates a new FrameBodyTPOS object. |
| 29 | */ |
| 30 | public FrameBodyTPOS(final FrameBodyTPOS body) { |
| 31 | super(body); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Creates a new FrameBodyTPOS object. |
| 36 | */ |
| 37 | public FrameBodyTPOS(final byte textEncoding, final String text) { |
| 38 | super(textEncoding, text); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Creates a new FrameBodyTPOS object. |
| 43 | */ |
| 44 | public FrameBodyTPOS(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
| 45 | super(file); |
| 46 | } |
| 47 | |
| 48 | public String getIdentifier() { |
| 49 | return "TPOS"; |
| 50 | } |
| 51 | } |