|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jaudiotagger.tag.id3.AbstractTagItem org.jaudiotagger.tag.id3.AbstractTagFrameBody org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody org.jaudiotagger.tag.id3.framebody.FrameBodyUSER
public class FrameBodyUSER
Terms of use frame.
This frame contains a brief description of the terms of use and ownership of the file. More detailed information concerning the legal terms might be available through the "WCOP" frame. Newlines are allowed in the text. There may only be one "USER" frame in a tag.<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:
Field Summary |
---|
Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
---|
TYPE_BODY |
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
---|
objectList |
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
---|
logger |
Constructor Summary | |
---|---|
FrameBodyUSER()
Creates a new FrameBodyUSER datatype. |
|
FrameBodyUSER(java.nio.ByteBuffer byteBuffer,
int frameSize)
Create a new FrameBodyUser by reading from byte buffer |
|
FrameBodyUSER(byte textEncoding,
java.lang.String language,
java.lang.String text)
Creates a new FrameBodyUSER datatype. |
|
FrameBodyUSER(FrameBodyUSER body)
|
Method Summary | |
---|---|
java.lang.String |
getIdentifier()
The ID3v2 frame identifier |
java.lang.String |
getLanguage()
|
void |
setOwner(java.lang.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(java.io.ByteArrayOutputStream tagBuffer)
If the text cannot be encoded using current encoder, change the encoder |
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
---|
createStructure, equals, getSize, read, setSize, setSize |
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 |
Constructor Detail |
---|
public FrameBodyUSER()
public FrameBodyUSER(FrameBodyUSER body)
public FrameBodyUSER(byte textEncoding, java.lang.String language, java.lang.String text)
textEncoding
- language
- text
- public FrameBodyUSER(java.nio.ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
-
InvalidTagException
Method Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public java.lang.String getLanguage()
public void setOwner(java.lang.String language)
language
- public void write(java.io.ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
tagBuffer
-
java.io.IOException
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |