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

TPUBTextInformationID3V2Frame

public class TPUBTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing the publisher of the recording in this track.

Fields Summary
private String
m_sPublisher
Constructors Summary
public TPUBTextInformationID3V2Frame(String sPublisher)
Constructor.

param
sPublisher the publisher of the recording in this track

    
                    
      
    
        super(sPublisher);
        
        m_sPublisher = sPublisher;
    
public TPUBTextInformationID3V2Frame(InputStream oIS)

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

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

        if ((oOther == null) || (!(oOther instanceof TPUBTextInformationID3V2Frame)))
        {
            return false;
        }
        
        TPUBTextInformationID3V2Frame oOtherTPUB = (TPUBTextInformationID3V2Frame)oOther;
        
        return (m_sPublisher.equals(oOtherTPUB.m_sPublisher) &&
                m_oTextEncoding.equals(oOtherTPUB.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTPUB.m_sInformation));
    
protected byte[]getFrameId()

        return "TPUB".getBytes();
    
public java.lang.StringgetPublisher()
Get the publisher of the recording in this track.

return
the publisher of the recording in this track

        return m_sPublisher;
    
public voidsetPublisher(java.lang.String sPublisher)
Set the publisher of the recording in this track.

param
sPublisher the publisher of the recording in this track

        m_sPublisher = sPublisher;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sPublisher;
    
public java.lang.StringtoString()

        return "Publisher: [" + m_sInformation + "]";