|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.farng.mp3.AbstractMP3FileItem
org.farng.mp3.AbstractMP3FragmentBody
org.farng.mp3.id3.AbstractID3v2FrameBody
org.farng.mp3.id3.FrameBodyCOMM
public class FrameBodyCOMM
This frame is intended for any kind of full text information that
does not fit in
any other frame. It consists of a frame header
followed by encoding, language and content
descriptors and is ended
with the actual comment as a text string. Newline characters are
allowed in the comment text string. There may be more than one
<Header for 'Comment', ID: "COMM">
Text
encoding $xx
| Constructor Summary | |
|---|---|
FrameBodyCOMM()
Creates a new FrameBodyCOMM object. |
|
FrameBodyCOMM(byte textEncoding,
java.lang.String language,
java.lang.String description,
java.lang.String text)
Creates a new FrameBodyCOMM object. |
|
FrameBodyCOMM(FrameBodyCOMM body)
Creates a new FrameBodyCOMM object. |
|
FrameBodyCOMM(java.io.RandomAccessFile file)
Creates a new FrameBodyCOMM object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBriefDescription()
This method calls toString for all it's objects and appends them without any newline characters. |
java.lang.String |
getDescription()
This method calls toString for all it's objects and appends them. |
java.lang.String |
getIdentifier()
|
java.lang.String |
getLanguage()
|
java.lang.String |
getText()
|
byte |
getTextEncoding()
|
void |
setDescription(java.lang.String description)
|
void |
setLanguage(java.lang.String language)
|
void |
setText(java.lang.String text)
|
void |
setTextEncoding(byte textEncoding)
|
protected void |
setupObjectList()
Create the order of MP3Object objects that this body expects. |
| Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody |
|---|
equals, readHeader, writeHeader |
| Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody |
|---|
appendToObjectList, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FrameBodyCOMM()
public FrameBodyCOMM(FrameBodyCOMM body)
public FrameBodyCOMM(byte textEncoding,
java.lang.String language,
java.lang.String description,
java.lang.String text)
public FrameBodyCOMM(java.io.RandomAccessFile file)
throws java.io.IOException,
InvalidTagException
java.io.IOException
InvalidTagException| Method Detail |
|---|
public java.lang.String getBriefDescription()
AbstractMP3FragmentBodytoString for all it's objects and appends them without any newline characters.
getBriefDescription in class AbstractMP3FragmentBodypublic void setDescription(java.lang.String description)
public java.lang.String getDescription()
AbstractMP3FragmentBodytoString for all it's objects and appends them. It contains new line characters
and is more suited for display purposes
getDescription in class AbstractMP3FragmentBodypublic java.lang.String getIdentifier()
getIdentifier in class AbstractMP3FileItempublic void setLanguage(java.lang.String language)
public java.lang.String getLanguage()
public void setText(java.lang.String text)
public java.lang.String getText()
public void setTextEncoding(byte textEncoding)
public byte getTextEncoding()
protected void setupObjectList()
AbstractMP3FragmentBodyMP3Object objects that this body expects. This method needs to be overwritten.
setupObjectList in class AbstractMP3FragmentBody
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||