|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blinkenlights.jid3.v2.ID3V2Frame
org.blinkenlights.jid3.v2.TextInformationID3V2Frame
org.blinkenlights.jid3.v2.TXXXTextInformationID3V2Frame
| Field Summary | |
protected TextEncoding |
m_oTextEncoding
The text encoding of the strings in this frame. |
protected java.lang.String |
m_sInformation
The text content of this frame. |
| Constructor Summary | |
TXXXTextInformationID3V2Frame(java.io.InputStream oIS)
|
|
TXXXTextInformationID3V2Frame(java.lang.String sDescription,
java.lang.String sInformation)
Constructor. |
|
| Method Summary | |
void |
accept(ID3Visitor oID3Visitor)
Accept a visitor. |
boolean |
equals(java.lang.Object oOther)
|
java.lang.String |
getDescription()
Get the description of the information stored in this frame. |
protected byte[] |
getFrameId()
Get the four bytes which uniquely specify of which type this frame is. |
java.lang.String |
getInformation()
Get the information stored in this frame. |
TextEncoding |
getTextEncoding()
Get the text encoding used for the text information in this frame. |
void |
setDescriptionAndInformation(java.lang.String sDescription,
java.lang.String sInformation)
Set the description of the information to be stored in this frame, along with the actual information. |
void |
setTextEncoding(TextEncoding oTextEncoding)
Set the text encoding to be used for the text information in this frame. |
java.lang.String |
toString()
Represent the contents of this frame as a string. |
protected void |
writeBody(ID3DataOutputStream oIDOS)
Write the body of this frame to an output stream. |
| Methods inherited from class org.blinkenlights.jid3.v2.ID3V2Frame |
addID3Observer, getEncryptionMethod, isEncrypted, notifyID3Observers, removeID3Observer, setCompressionFlag, setEncryption, setFileAlterPreservationFlag, setGroupingIdentityFlag, setReadOnlyFlag, setTagAlterPreservationFlag, write, writeHeader |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected TextEncoding m_oTextEncoding
protected java.lang.String m_sInformation
| Constructor Detail |
public TXXXTextInformationID3V2Frame(java.lang.String sDescription,
java.lang.String sInformation)
throws ID3Exception
sDescription - a description of the information being storedsInformation - the information being stored
ID3Exception - if either the description or information are empty
public TXXXTextInformationID3V2Frame(java.io.InputStream oIS)
throws ID3Exception
| Method Detail |
public void accept(ID3Visitor oID3Visitor)
ID3Visitable
oID3Visitor - a visitor of this object
public void setDescriptionAndInformation(java.lang.String sDescription,
java.lang.String sInformation)
throws ID3Exception
sDescription - a description of the information being storedsInformation - the information being stored
ID3Exception - if either the description or information are empty, or if this TXXX frame is stored in a tag
where there is another TXXX frame with the same descriptionpublic java.lang.String getDescription()
public java.lang.String getInformation()
protected byte[] getFrameId()
ID3V2Frame
getFrameId in class ID3V2Framepublic java.lang.String toString()
ID3V2Frame
toString in class ID3V2Frame
protected void writeBody(ID3DataOutputStream oIDOS)
throws java.io.IOException
org.blinkenlights.jid3.v2.TextInformationID3V2Frame
oIDOS - the ID3 output stream to which the frame body is to be written
java.io.IOExceptionpublic boolean equals(java.lang.Object oOther)
public void setTextEncoding(TextEncoding oTextEncoding)
oTextEncoding - the text encoding to be used for this framepublic TextEncoding getTextEncoding()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||