FileDocCategorySizeDatePackage
WPUBUrlLinkID3V2Frame.javaAPI Docjid3 0.463469Sun Feb 06 18:11:16 GMT 2005org.blinkenlights.jid3.v2

WPUBUrlLinkID3V2Frame

public class WPUBUrlLinkID3V2Frame extends UrlLinkID3V2Frame
author
paul Url frame which contains the location of the web page of the publisher of the track in this file.

Fields Summary
Constructors Summary
public WPUBUrlLinkID3V2Frame(String sPublishersUrl)
Constructor.

param
sPublishersUrl URL pointing to web page of the publisher of this track
throws
ID3Exception if the URL passed is null

        super(sPublishersUrl);
    
public WPUBUrlLinkID3V2Frame(URL oPublishersUrl)
Constructor.

param
oPublishersUrl URL pointing to web page of the publisher of this track
throws
ID3Exception if the URL passed is null

        super(oPublishersUrl);
    
public WPUBUrlLinkID3V2Frame(InputStream oIS)

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

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

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

        return "WPUB".getBytes();
    
public java.lang.StringgetPublisherWebPage()
Get the publisher's 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 voidsetPublisherWebPage(java.lang.String sPublishersUrl)
Set publisher's web page URL for this track.

param
sPublishersUrl a string containing an URL

        m_sURL = sPublishersUrl;
    
public voidsetPublisherWebPage(java.net.URL oPublishersUrl)
Set publisher's web page URL for this track.

param
oPublishersUrl an URL

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

        return "Publishers official webpage URL: [" + m_sURL + "]";