|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaudiotagger.tag.id3.AbstractTagItem
org.jaudiotagger.tag.id3.AbstractTagFrameBody
org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
public abstract class AbstractFrameBodyTextInfo
Abstract representation of a Text Frame
The text information frames are often the most important frames, containing information like artist, album and more. There may only be one text information frame of its kind in an tag. In ID3v24 All text information frames supports multiple strings, stored as a null separated list, where null is represented by the termination code for the character encoding. All text frame identifiers begin with "T". Only text frame identifiers begin with "T", with the exception of the "TXXX" frame. All the text information frames have the following format:getFirstTextValue()
| Field Summary |
|---|
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
|---|
logger |
| Method Summary | |
|---|---|
void |
addTextValue(java.lang.String value)
Add additional value to value |
java.lang.String |
getFirstTextValue()
Get first value |
int |
getNumberOfValues()
|
java.lang.String |
getText()
Retrieve the complete Text String. |
java.lang.String |
getValueAtIndex(int index)
Get value at index |
void |
setText(java.lang.String text)
Set the Full Text String. |
void |
write(java.io.ByteArrayOutputStream tagBuffer)
Because Text frames have a text encoding we need to check the text String does not contain characters that cannot be encoded in current encoding before we write data. |
| Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
|---|
createStructure, equals, getIdentifier, 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 |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setText(java.lang.String text)
If this String contains null terminator characters these are parsed as value seperators, allowing you to hold multiple strings within one text frame. This functionality is only officially support in ID3v24.
text - to setpublic java.lang.String getText()
public java.lang.String getFirstTextValue()
public java.lang.String getValueAtIndex(int index)
index -
public void addTextValue(java.lang.String value)
value - at indexpublic int getNumberOfValues()
public void write(java.io.ByteArrayOutputStream tagBuffer)
write in class AbstractID3v2FrameBody
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||