FileDocCategorySizeDatePackage
WOAFUrlLinkID3V2Frame.javaAPI Docjid3 0.463628Sun Feb 06 18:11:21 GMT 2005org.blinkenlights.jid3.v2

WOAFUrlLinkID3V2Frame

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

Fields Summary
Constructors Summary
public WOAFUrlLinkID3V2Frame(String sOfficialAudioFileUrl)
Constructor.

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

        super(sOfficialAudioFileUrl);
    
public WOAFUrlLinkID3V2Frame(URL oOfficialAudioFileUrl)
Constructor.

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

        super(oOfficialAudioFileUrl);
    
public WOAFUrlLinkID3V2Frame(InputStream oIS)

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

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

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

        return "WOAF".getBytes();
    
public java.lang.StringgetOfficialAudioFileWebPage()
Get the official audio file 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 voidsetOfficialAudioFileWebPage(java.lang.String sOfficialAudioFileUrl)
Set official audio file web page URL for this track.

param
sOfficialAudioFileUrl a string containing an URL

        m_sURL = sOfficialAudioFileUrl;
    
public voidsetOfficialAudioFileWebPage(java.net.URL oOfficialAudioFileUrl)
Set official audio file web page URL for this track.

param
oOfficialAudioFileUrl an URL

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

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