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

WCOPUrlLinkID3V2Frame

public class WCOPUrlLinkID3V2Frame extends UrlLinkID3V2Frame
author
paul Url frame which contains copyright or legal information for this track.

Fields Summary
Constructors Summary
public WCOPUrlLinkID3V2Frame(String sCopyrightLegalInformationUrl)
Constructor.

param
sCopyrightLegalInformationUrl URL pointing to copyright or legal information pertaining to this track
throws
ID3Exception if the URL passed is null

        super(sCopyrightLegalInformationUrl);
    
public WCOPUrlLinkID3V2Frame(URL oCopyrightLegalInformationUrl)
Constructor.

param
oCopyrightLegalInformationUrl URL pointing to copyright or legal information pertaining to this track
throws
ID3Exception if the URL passed is null

        super(oCopyrightLegalInformationUrl);
    
public WCOPUrlLinkID3V2Frame(InputStream oIS)

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

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

        if ((oOther == null) || (!(oOther instanceof WCOPUrlLinkID3V2Frame)))
        {
            return false;
        }
        
        WCOPUrlLinkID3V2Frame oOtherWCOP = (WCOPUrlLinkID3V2Frame)oOther;
        
        return m_sURL.equals(oOtherWCOP.m_sURL);
    
public java.lang.StringgetCopyrightLegalInformationUrl()
Get the copyright or legal information 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;
    
protected byte[]getFrameId()

        return "WCOP".getBytes();
    
public voidsetCopyrightLegalInformation(java.lang.String sCopyrightLegalInformationUrl)
Set copyright or legal information URL for this track.

param
sCopyrightLegalInformationUrl a string containing an URL

        m_sURL = sCopyrightLegalInformationUrl;
    
public voidsetCopyrightLegalInformation(java.net.URL oCopyrightLegalInformationUrl)
Set copyright or legal information URL for this track.

param
oCopyrightLegalInformationUrl an URL

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

        return "Copyright/legal information URL: [" + m_sURL + "]";