org.jaudiotagger.tag.id3.framebody
Class FrameBodyTLAN
java.lang.Object
org.jaudiotagger.tag.id3.AbstractTagItem
org.jaudiotagger.tag.id3.AbstractTagFrameBody
org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
org.jaudiotagger.tag.id3.framebody.FrameBodyTLAN
- All Implemented Interfaces:
- ID3v23FrameBody, ID3v24FrameBody
public class FrameBodyTLAN
- extends AbstractFrameBodyTextInfo
- implements ID3v24FrameBody, ID3v23FrameBody
Language(s) Text information frame.
The 'Language(s)' frame should contain the languages of the text or lyrics spoken or sung in the audio. The language is represented with three characters according to ISO-639-2. If more than one language is used in the text their language codes should follow according to their usage.
For more details, please refer to the ID3 specifications:
TODO:Although rare TLAN can actually return multiple language codes, at the moment they are all returned as a single
string via getText(), any additional parsrsing has to be done externally.
- Version:
- $Id: FrameBodyTLAN.java,v 1.17 2009/11/12 13:25:21 paultaylor Exp $
- Author:
- : Paul Taylor, : Eric Farng
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FrameBodyTLAN
public FrameBodyTLAN()
- Creates a new FrameBodyTLAN datatype.
FrameBodyTLAN
public FrameBodyTLAN(FrameBodyTLAN body)
FrameBodyTLAN
public FrameBodyTLAN(byte textEncoding,
java.lang.String text)
- Creates a new FrameBodyTLAN datatype.
- Parameters:
textEncoding
- text
-
FrameBodyTLAN
public FrameBodyTLAN(java.nio.ByteBuffer byteBuffer,
int frameSize)
throws InvalidTagException
- Creates a new FrameBodyTLAN datatype.
- Parameters:
byteBuffer
- frameSize
-
- Throws:
InvalidTagException
getIdentifier
public java.lang.String getIdentifier()
- The ID3v2 frame identifier
- Specified by:
getIdentifier
in class AbstractID3v2FrameBody
- Returns:
- the ID3v2 frame identifier for this frame type
isValid
public boolean isValid()
- Returns:
- true if text value is valid language code