FileDocCategorySizeDatePackage
TIT2TextInformationID3V2Frame.javaAPI Docjid3 0.463237Sun Feb 06 18:11:20 GMT 2005org.blinkenlights.jid3.v2

TIT2TextInformationID3V2Frame

public class TIT2TextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing the title, song name, or content description of the track.

Fields Summary
private String
m_sTitle
Constructors Summary
public TIT2TextInformationID3V2Frame(String sTitle)
Constructor.

param
sTitle the title, song name, or content description of the track


                      
      
    
        super(sTitle);
        
        m_sTitle = sTitle;
    
public TIT2TextInformationID3V2Frame(InputStream oIS)

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

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

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

        return "TIT2".getBytes();
    
public java.lang.StringgetTitle()
Get the title, song name, or content description of the track.

return
the title, song name, or content description of the track

        return m_sTitle;
    
public voidsetTitle(java.lang.String sTitle)
Set the title, song name, or content description of the track.

param
sTitle the title, song name, or content description of the track

        m_sTitle = sTitle;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sTitle;
    
public java.lang.StringtoString()

        return "Title/Songname/Content description: [" + m_sInformation + "]";