public class FrameBodyTLAN extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
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 parsing has to be done externally.TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyTLAN()
Creates a new FrameBodyTLAN datatype.
|
FrameBodyTLAN(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyTLAN datatype.
|
FrameBodyTLAN(byte textEncoding,
String text)
Creates a new FrameBodyTLAN datatype.
|
FrameBodyTLAN(FrameBodyTLAN body) |
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
The ID3v2 frame identifier
|
boolean |
isValid() |
addTextValue, getFirstTextValue, getNumberOfValues, getText, getTextWithoutTrailingNulls, getUserFriendlyValue, getValueAtIndex, getValues, setText, setupObjectList, write
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyTLAN()
public FrameBodyTLAN(FrameBodyTLAN body)
public FrameBodyTLAN(byte textEncoding, String text)
textEncoding
- text
- public FrameBodyTLAN(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public boolean isValid()
Copyright © 2005–2020 jthink.net. All rights reserved.