public class FrameBodyUSER extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<Header for 'Terms of use frame', ID: "USER"> | |
Text encoding | $xx |
Language | $xx xx xx |
The actual text | <text string according to encoding> |
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyUSER()
Creates a new FrameBodyUSER datatype.
|
FrameBodyUSER(ByteBuffer byteBuffer,
int frameSize)
Create a new FrameBodyUser by reading from byte buffer
|
FrameBodyUSER(byte textEncoding,
String language,
String text)
Creates a new FrameBodyUSER datatype.
|
FrameBodyUSER(FrameBodyUSER body) |
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
The ID3v2 frame identifier
|
String |
getLanguage() |
void |
setOwner(String language) |
protected void |
setupObjectList()
Create the list of Datatypes that this body
expects in the correct order This method needs to be implemented by concrete subclasses
|
void |
write(ByteArrayOutputStream tagBuffer)
If the text cannot be encoded using current encoder, change the encoder
|
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyUSER()
public FrameBodyUSER(FrameBodyUSER body)
public FrameBodyUSER(byte textEncoding, String language, String text)
textEncoding
- language
- text
- public FrameBodyUSER(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public String getLanguage()
public void setOwner(String language)
language
- public void write(ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
tagBuffer
- IOException
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.