| 1 | package org.farng.mp3.id3; |
| 2 | |
| 3 | import org.farng.mp3.InvalidTagException; |
| 4 | |
| 5 | import java.io.RandomAccessFile; |
| 6 | |
| 7 | /** |
| 8 | * The 'File type' frame indicates which type of audio this tag defines.<br> The following |
| 9 | * types and refinements are defined:</p> |
| 10 | * <p/> |
| 11 | * <p> MIME MIME type follows<br> |
| 12 | * <p/> |
| 13 | * MPG MPEG Audio<br> |
| 14 | * /1 MPEG 1/2 layer I<br> /2 MPEG |
| 15 | * 1/2 layer II<br> |
| 16 | * <p/> |
| 17 | * /3 MPEG 1/2 layer III<br> |
| 18 | * /2.5 MPEG 2.5<br> |
| 19 | * /AAC Advanced audio compression<br> |
| 20 | * <p/> |
| 21 | * VQF Transform-domain Weighted Interleave Vector Quantisation<br> |
| 22 | * PCM Pulse Code Modulated audio</p> |
| 23 | * <p/> |
| 24 | * <p> but other types may be used, but not for these types though. This is<br> used in a |
| 25 | * similar way to the predefined types in the "TMED" |
| 26 | * <p/> |
| 27 | * frame,<br> but without parentheses. If this frame is not present audio type is<br> assumed |
| 28 | * to be "MPG".</p> |
| 29 | * |
| 30 | * @author Eric Farng |
| 31 | * @version $Revision: 1.4 $ |
| 32 | */ |
| 33 | public class FrameBodyTFLT extends AbstractFrameBodyTextInformation { |
| 34 | |
| 35 | /** |
| 36 | * Creates a new FrameBodyTFLT object. |
| 37 | */ |
| 38 | public FrameBodyTFLT() { |
| 39 | super(); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Creates a new FrameBodyTFLT object. |
| 44 | */ |
| 45 | public FrameBodyTFLT(final FrameBodyTFLT body) { |
| 46 | super(body); |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * Creates a new FrameBodyTFLT object. |
| 51 | */ |
| 52 | public FrameBodyTFLT(final byte textEncoding, final String text) { |
| 53 | super(textEncoding, text); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Creates a new FrameBodyTFLT object. |
| 58 | */ |
| 59 | public FrameBodyTFLT(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
| 60 | super(file); |
| 61 | } |
| 62 | |
| 63 | public String getIdentifier() { |
| 64 | return "TFLT"; |
| 65 | } |
| 66 | } |