| 1 | package org.farng.mp3.id3; |
| 2 | |
| 3 | import org.farng.mp3.InvalidTagException; |
| 4 | |
| 5 | import java.io.RandomAccessFile; |
| 6 | |
| 7 | /** |
| 8 | * The 'Length' frame contains the length of the audio file in<br> |
| 9 | * <p/> |
| 10 | * milliseconds, represented as a numeric string.</p> |
| 11 | * |
| 12 | * @author Eric Farng |
| 13 | * @version $Revision: 1.4 $ |
| 14 | */ |
| 15 | public class FrameBodyTLEN extends AbstractFrameBodyTextInformation { |
| 16 | |
| 17 | /** |
| 18 | * Creates a new FrameBodyTLEN object. |
| 19 | */ |
| 20 | public FrameBodyTLEN() { |
| 21 | super(); |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Creates a new FrameBodyTLEN object. |
| 26 | */ |
| 27 | public FrameBodyTLEN(final FrameBodyTLEN body) { |
| 28 | super(body); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Creates a new FrameBodyTLEN object. |
| 33 | */ |
| 34 | public FrameBodyTLEN(final byte textEncoding, final String text) { |
| 35 | super(textEncoding, text); |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Creates a new FrameBodyTLEN object. |
| 40 | */ |
| 41 | public FrameBodyTLEN(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
| 42 | super(file); |
| 43 | } |
| 44 | |
| 45 | public String getIdentifier() { |
| 46 | return "TLEN"; |
| 47 | } |
| 48 | } |