|
|||||||||||
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.UrlLinkID3V2Frame
org.blinkenlights.jid3.v2.WXXXUrlLinkID3V2Frame
Field Summary |
Fields inherited from class org.blinkenlights.jid3.v2.UrlLinkID3V2Frame |
m_sURL |
Constructor Summary | |
WXXXUrlLinkID3V2Frame(java.io.InputStream oIS)
|
|
WXXXUrlLinkID3V2Frame(java.lang.String sDescription,
java.lang.String sUrl)
Constructor. |
|
WXXXUrlLinkID3V2Frame(java.lang.String sDescription,
java.net.URL oURL)
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 URL stored in this frame. |
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 description in this frame. |
java.lang.String |
getUrl()
Get the URL stored in this frame. |
void |
setDescriptionAndUrl(java.lang.String sDescription,
java.lang.String sUrl)
Set the description of the URL to be stored in this frame, along with the actual URL. |
void |
setDescriptionAndUrl(java.lang.String sDescription,
java.net.URL oURL)
Set the description of the URL to be stored in this frame, along with the actual URL. |
void |
setTextEncoding(TextEncoding oTextEncoding)
Set the text encoding to be used for the description 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 |
Constructor Detail |
public WXXXUrlLinkID3V2Frame(java.lang.String sDescription, java.lang.String sUrl) throws ID3Exception
sDescription
- a description of the URL being storedsUrl
- the URL being stored
ID3Exception
- if the URL passed is null, or if the description is nullpublic WXXXUrlLinkID3V2Frame(java.lang.String sDescription, java.net.URL oURL) throws ID3Exception
sDescription
- a description of the URL being storedoURL
- the URL being stored
ID3Exception
- if the URL passed is null, or if the description is nullpublic WXXXUrlLinkID3V2Frame(java.io.InputStream oIS) throws ID3Exception
Method Detail |
public void accept(ID3Visitor oID3Visitor)
ID3Visitable
oID3Visitor
- a visitor of this objectpublic void setDescriptionAndUrl(java.lang.String sDescription, java.lang.String sUrl) throws ID3Exception
sDescription
- a description of the URL being storedsUrl
- the URL being stored
ID3Exception
- if the URL passed is null, or if the description is nullpublic void setDescriptionAndUrl(java.lang.String sDescription, java.net.URL oURL) throws ID3Exception
sDescription
- a description of the URL being storedoURL
- the URL being stored
ID3Exception
- if the URL passed is null, or if the description is nullpublic java.lang.String getDescription()
public java.lang.String getUrl()
public void setTextEncoding(TextEncoding oTextEncoding)
oTextEncoding
- the text encoding to be used for this framepublic TextEncoding getTextEncoding()
protected byte[] getFrameId()
ID3V2Frame
getFrameId
in class ID3V2Frame
public java.lang.String toString()
ID3V2Frame
toString
in class ID3V2Frame
protected void writeBody(ID3DataOutputStream oIDOS) throws java.io.IOException
UrlLinkID3V2Frame
writeBody
in class UrlLinkID3V2Frame
oIDOS
- the ID3 output stream to which the frame body is to be written
java.io.IOException
public boolean equals(java.lang.Object oOther)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |