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

TENCTextInformationID3V2Frame

public class TENCTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame which contains the identity of the encoder.

Fields Summary
private String
m_sEncodedBy
Constructors Summary
public TENCTextInformationID3V2Frame(String sEncodedBy)
Constructor.

param
sEncodedBy the identity of the encoder of this file

    
                    
      
    
        super(sEncodedBy);
        
        m_sEncodedBy = sEncodedBy;
    
public TENCTextInformationID3V2Frame(InputStream oIS)

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

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

        if ((oOther == null) || (!(oOther instanceof TENCTextInformationID3V2Frame)))
        {
            return false;
        }
        
        TENCTextInformationID3V2Frame oOtherTENC = (TENCTextInformationID3V2Frame)oOther;
        
        return (m_sEncodedBy.equals(oOtherTENC.m_sEncodedBy) &&
                m_oTextEncoding.equals(oOtherTENC.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTENC.m_sInformation));
    
public java.lang.StringgetEncodedBy()
Get the identity of the encoder of this file.

return
the identity of the encoder

        return m_sEncodedBy;
    
protected byte[]getFrameId()

        return "TENC".getBytes();
    
public voidsetEncodedBy(java.lang.String sEncodedBy)
Set the identity of the encoder of this file.

param
sEncodedBy the identity of the encoder of this file

        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sEncodedBy;
        m_sEncodedBy = sEncodedBy;
    
public java.lang.StringtoString()

        return "Encoded by: [" + m_sInformation + "]";