| 1 | package org.farng.mp3.id3; |
| 2 | |
| 3 | import org.farng.mp3.InvalidTagException; |
| 4 | |
| 5 | /** |
| 6 | * The 'Content type', which ID3v1 was stored as a one byte numeric<br> |
| 7 | * <p/> |
| 8 | * value only, is now a string. You may use one or several of the ID3v1<br> types as numerical |
| 9 | * strings, or, since the category list would be<br> impossible to maintain with accurate and up to date |
| 10 | * categories,<br> define your own. Example: "21" $00 "Eurodisco" |
| 11 | * <p/> |
| 12 | * $00</p> |
| 13 | * <p/> |
| 14 | * <p> You may also use any of the following keywords:<br> </p> |
| 15 | * <p/> |
| 16 | * <p> RX Remix<br> CR Cover</p> |
| 17 | * |
| 18 | * @author Eric Farng |
| 19 | * @version $Revision: 1.4 $ |
| 20 | */ |
| 21 | public class FrameBodyTCON extends AbstractFrameBodyTextInformation { |
| 22 | |
| 23 | /** |
| 24 | * Creates a new FrameBodyTCON object. |
| 25 | */ |
| 26 | public FrameBodyTCON() { |
| 27 | super(); |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Creates a new FrameBodyTCON object. |
| 32 | */ |
| 33 | public FrameBodyTCON(final FrameBodyTCON body) { |
| 34 | super(body); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Creates a new FrameBodyTCON object. |
| 39 | */ |
| 40 | public FrameBodyTCON(final byte textEncoding, final String text) { |
| 41 | super(textEncoding, text); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Creates a new FrameBodyTCON object. |
| 46 | */ |
| 47 | public FrameBodyTCON(final java.io.RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
| 48 | super(file); |
| 49 | } |
| 50 | |
| 51 | public String getIdentifier() { |
| 52 | return "TCON"; |
| 53 | } |
| 54 | } |