FileDocCategorySizeDatePackage
TOWNTextInformationID3V2Frame.javaAPI Docjid3 0.463261Sun Feb 06 18:11:22 GMT 2005org.blinkenlights.jid3.v2

TOWNTextInformationID3V2Frame

public class TOWNTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing the file owner or licensee of the content of this track.

Fields Summary
private String
m_sFileOwner
Constructors Summary
public TOWNTextInformationID3V2Frame(String sFileOwner)
Constructor.

param
sFileOwner the owner or licensee of the content of this track


                      
      
    
        super(sFileOwner);
        
        m_sFileOwner = sFileOwner;
    
public TOWNTextInformationID3V2Frame(InputStream oIS)

        super(oIS);
        
        m_sFileOwner = m_sInformation;
    
Methods Summary
public voidaccept(ID3Visitor oID3Visitor)

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

        if ((oOther == null) || (!(oOther instanceof TOWNTextInformationID3V2Frame)))
        {
            return false;
        }
        
        TOWNTextInformationID3V2Frame oOtherTOWN = (TOWNTextInformationID3V2Frame)oOther;
        
        return (m_sFileOwner.equals(oOtherTOWN.m_sFileOwner) &&
                m_oTextEncoding.equals(oOtherTOWN.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTOWN.m_sInformation));
    
public java.lang.StringgetFileOwner()
Get the owner or licensee of the content of this track.

return
the owner or licensee of the content of this track

        return m_sFileOwner;
    
protected byte[]getFrameId()

        return "TOWN".getBytes();
    
public voidsetFileOwner(java.lang.String sFileOwner)
Set the owner or licensee of the content of this track.

param
sFileOwner the owner or licensee of the content of this track

        m_sFileOwner = sFileOwner;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sFileOwner;
    
public java.lang.StringtoString()

        return "File owner/licensee: [" + m_sInformation + "]";