FileDocCategorySizeDatePackage
WORSUrlLinkID3V2Frame.javaAPI Docjid3 0.463976Sun Feb 06 18:11:15 GMT 2005org.blinkenlights.jid3.v2

WORSUrlLinkID3V2Frame

public class WORSUrlLinkID3V2Frame extends UrlLinkID3V2Frame
author
paul Url frame which contains a pointer to the official internet radio station web page from which this track originated.

Fields Summary
Constructors Summary
public WORSUrlLinkID3V2Frame(String sOfficialInternetRadioStationUrl)
Constructor.

param
sOfficialInternetRadioStationUrl URL pointing to the official internet radio station from which this track originated
throws
ID3Exception if the URL passed is null

        super(sOfficialInternetRadioStationUrl);
    
public WORSUrlLinkID3V2Frame(URL oOfficialInternetRadioStationUrl)
Constructor.

param
oOfficialInternetRadioStationUrl URL pointing to the official internet radio station from which this track originated
throws
ID3Exception if the URL passed is null

        super(oOfficialInternetRadioStationUrl);
    
public WORSUrlLinkID3V2Frame(InputStream oIS)

        super(oIS);
    
Methods Summary
public voidaccept(ID3Visitor oID3Visitor)

        oID3Visitor.visitWORSUrlLinkID3V2Frame(this);
    
public booleanequals(java.lang.Object oOther)

        if ((oOther == null) || (!(oOther instanceof WORSUrlLinkID3V2Frame)))
        {
            return false;
        }
        
        WORSUrlLinkID3V2Frame oOtherWORS = (WORSUrlLinkID3V2Frame)oOther;
        
        return m_sURL.equals(oOtherWORS.m_sURL);
    
protected byte[]getFrameId()

        return "WORS".getBytes();
    
public java.lang.StringgetOfficialInternetRadioStationWebPage()
Get the official internet radio station web page URL from which this track originated. Note, there is no guarantee that this value will in fact be a valid URL.

return
a string containing the set URL

        return m_sURL;
    
public voidsetOfficialInternetRadioStationWebPage(java.lang.String sOfficialInternetRadioStationUrl)
Set official internet radio station web page URL from which this track originated.

param
sOfficialInternetRadioStationUrl a string containing an URL

        m_sURL = sOfficialInternetRadioStationUrl;
    
public voidsetOfficialInternetRadioStationWebPage(java.net.URL oOfficialInternetRadioStationUrl)
Set official internet radio station web page URL from which this track originated.

param
oOfficialInternetRadioStationUrl an URL

        m_sURL = oOfficialInternetRadioStationUrl.toExternalForm();
    
public java.lang.StringtoString()

        return "Official internet radio station homepage URL: [" + m_sURL + "]";