FileDocCategorySizeDatePackage
WOASUrlLinkID3V2Frame.javaAPI Docjid3 0.463672Sun Feb 06 18:11:23 GMT 2005org.blinkenlights.jid3.v2

WOASUrlLinkID3V2Frame

public class WOASUrlLinkID3V2Frame extends UrlLinkID3V2Frame
author
paul Url frame which contains a pointer to the official audio source web page pertaining to the track in this file.

Fields Summary
Constructors Summary
public WOASUrlLinkID3V2Frame(String sOfficialAudioSourceUrl)
Constructor.

param
sOfficialAudioSourceUrl URL pointing to the official audio source web page for this track
throws
ID3Exception if the URL passed is null

        super(sOfficialAudioSourceUrl);
    
public WOASUrlLinkID3V2Frame(URL oOfficialAudioSourceUrl)
Constructor.

param
oOfficialAudioSourceUrl URL pointing to the official audio source web page for this track
throws
ID3Exception if the URL passed is null

        super(oOfficialAudioSourceUrl);
    
public WOASUrlLinkID3V2Frame(InputStream oIS)

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

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

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

        return "WOAS".getBytes();
    
public java.lang.StringgetOfficialAudioSourceWebPage()
Get the official audio source web page URL for this track. 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 voidsetOfficialAudioSourceWebPage(java.lang.String sOfficialAudioSourceUrl)
Set official audio source web page URL for this track.

param
sOfficialAudioSourceUrl a string containing an URL

        m_sURL = sOfficialAudioSourceUrl;
    
public voidsetOfficialAudioSourceWebPage(java.net.URL oOfficialAudioSourceUrl)
Set official audio source web page URL for this track.

param
oOfficialAudioSourceUrl an URL

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

        return "Official audio source webpage URL: [" + m_sURL + "]";