|
|||||||||||
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.TCOPTextInformationID3V2Frame
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 | |
TCOPTextInformationID3V2Frame(java.io.InputStream oIS)
|
|
TCOPTextInformationID3V2Frame(int iYear,
java.lang.String sCopyrightMessage)
Constructor. |
Method Summary | |
void |
accept(ID3Visitor oID3Visitor)
Accept a visitor. |
boolean |
equals(java.lang.Object oOther)
|
java.lang.String |
getCopyrightMessage()
Get the copyright message, not including the year. |
int |
getCopyrightYear()
Get the copyright year. |
protected byte[] |
getFrameId()
Get the four bytes which uniquely specify of which type this frame is. |
TextEncoding |
getTextEncoding()
Get the text encoding used for the text information in this frame. |
void |
setCopyright(int iYear,
java.lang.String sCopyrightMessage)
Set the copyright information for the track. |
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 TCOPTextInformationID3V2Frame(int iYear, java.lang.String sCopyrightMessage) throws ID3Exception
iYear
- the year in which the track was copyrightedsCopyrightMessage
- the copyright notice message for the track (ie. the holder)public TCOPTextInformationID3V2Frame(java.io.InputStream oIS) throws ID3Exception
Method Detail |
public void accept(ID3Visitor oID3Visitor)
ID3Visitable
oID3Visitor
- a visitor of this objectprotected byte[] getFrameId()
ID3V2Frame
getFrameId
in class ID3V2Frame
public java.lang.String toString()
ID3V2Frame
toString
in class ID3V2Frame
public void setCopyright(int iYear, java.lang.String sCopyrightMessage)
iYear
- the year of the copyrightsCopyrightMessage
- the copyright message itself (ie. the holder)public int getCopyrightYear()
public java.lang.String getCopyrightMessage()
public boolean equals(java.lang.Object oOther)
public void setTextEncoding(TextEncoding oTextEncoding)
oTextEncoding
- the text encoding to be used for this framepublic TextEncoding getTextEncoding()
protected void writeBody(ID3DataOutputStream oIDOS) throws java.io.IOException
writeBody
in class ID3V2Frame
oIDOS
- the ID3 output stream to which the frame body is to be written
ID3Exception
- if there is any error writing the frame body data
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |