package org.farng.mp3.id3; import java.io.RandomAccessFile; import org.farng.mp3.InvalidTagException; import org.farng.mp3.object.ObjectNumberHashMap; import org.farng.mp3.object.ObjectStringHashMap; /** *    The 'Language' frame should contain the languages of the text or<br>    lyrics spoken or sung * in the audio. The language is represented with<br>    three characters according to ISO-639-2 [ISO-639-2]. * If more than one<br>    language is used in the text their language codes should follow<br> * <p/> *    according to the amount of their usage, e.g. "eng" $00 "sve" $00.</p> * * @author Eric Farng * @version $Revision: 2374 $ */ public class FrameBodyTLAN extends AbstractFrameBodyTextInformation { /** * Creates a new FrameBodyTLAN object. */ public FrameBodyTLAN() { super(); } /** * Creates a new FrameBodyTLAN object. */ public FrameBodyTLAN(final FrameBodyTLAN body) { super(body); } /** * Creates a new FrameBodyTLAN object. */ public FrameBodyTLAN(final byte textEncoding, final String text) { super(textEncoding, text); } /** * Creates a new FrameBodyTLAN object. */ public FrameBodyTLAN(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { super(file); } public String getIdentifier() { return "TLAN"; } protected void setupObjectList() { appendToObjectList(new ObjectNumberHashMap("Text Encoding", 1)); appendToObjectList(new ObjectStringHashMap("Language", 3)); } }