| 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>TDAT</div> |
| 9 | * <p/> |
| 10 | * <div class=t>The 'Date' frame is a numeric string in the DDMM format containing the date for the recording. This |
| 11 | * field is always four characters long.</div> |
| 12 | * <p/> |
| 13 | * <p/> |
| 14 | * <a name="TDLY"> </a> |
| 15 | * |
| 16 | * @author Eric Farng |
| 17 | * @version $Revision: 1.4 $ |
| 18 | */ |
| 19 | public class FrameBodyTDAT extends AbstractFrameBodyTextInformation { |
| 20 | |
| 21 | /** |
| 22 | * Creates a new FrameBodyTDAT object. |
| 23 | */ |
| 24 | public FrameBodyTDAT() { |
| 25 | super(); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Creates a new FrameBodyTDAT object. |
| 30 | */ |
| 31 | public FrameBodyTDAT(final FrameBodyTDAT body) { |
| 32 | super(body); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Creates a new FrameBodyTDAT object. |
| 37 | */ |
| 38 | public FrameBodyTDAT(final byte textEncoding, final String text) { |
| 39 | super(textEncoding, text); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Creates a new FrameBodyTDAT object. |
| 44 | */ |
| 45 | public FrameBodyTDAT(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
| 46 | super(file); |
| 47 | } |
| 48 | |
| 49 | public String getIdentifier() { |
| 50 | return "TDAT"; |
| 51 | } |
| 52 | } |