Methods Summary |
---|
public void | accept(ID3Visitor oID3Visitor)
oID3Visitor.visitWOARUrlLinkID3V2Frame(this);
|
public boolean | equals(java.lang.Object oOther)
if ((oOther == null) || (!(oOther instanceof WOARUrlLinkID3V2Frame)))
{
return false;
}
WOARUrlLinkID3V2Frame oOtherWOAR = (WOARUrlLinkID3V2Frame)oOther;
return m_sURL.equals(oOtherWOAR.m_sURL);
|
protected byte[] | getFrameId()
return "WOAR".getBytes();
|
public java.lang.String | getOfficialArtistWebPage()Get the official artist or performer web page URL for this track. Note, there is no guarantee that
this value will in fact be a valid URL.
return m_sURL;
|
public void | setOfficialArtistWebPage(java.lang.String sOfficialArtistUrl)Set official artist or performer web page URL for this track.
String sOrigURL = m_sURL;
if (sOfficialArtistUrl == null)
{
throw new ID3Exception("Official artist URL string cannot be null in WOAR frame.");
}
m_sURL = sOfficialArtistUrl;
// try this update, and reverse it if it generates and error
try
{
notifyID3Observers();
}
catch (ID3Exception e)
{
m_sURL = sOrigURL;
throw e;
}
|
public void | setOfficialArtistWebPage(java.net.URL oOfficialArtistUrl)Set official artist or performer web page URL for this track.
String sOrigURL = m_sURL;
if (oOfficialArtistUrl == null)
{
throw new ID3Exception("Official artist URL object cannot be null in WOAR frame.");
}
m_sURL = oOfficialArtistUrl.toExternalForm();
// try this update, and reverse it if it generates and error
try
{
notifyID3Observers();
}
catch (ID3Exception e)
{
m_sURL = sOrigURL;
throw e;
}
|
public java.lang.String | toString()
return "Official artist/performer webpage URL: [" + m_sURL + "]";
|